Group:  Microsoft Access ยป microsoft.public.access.formscoding
Thread: Allen Browne Popup Calendar - Positioning Form.

Allen Browne Popup Calendar - Positioning Form.
Peter Hibbs <peter.hibbs[ at ]btinternet.com.NO_SPAM> 12/27/2008 4:11:30 PM
Access 2003.

I am using the Popup Calendar from Allen Browne.

What I would like to happen is when the user clicks on the calendar
button on the form (which is positioned immediately to the right of
the associated date field), is for the popup calendar form to be
positioned at the same co-ordinates as the button instead of in the
middle of the form. That is, the top left corner of the popup calendar
to be the same as the top left corner of the calendar button. I may
have to ensure that the buttons are not near the right or bottom edges
of the form but that should be possible.

At the moment I don't see any easy way to do this so I am wondering if
anyone has done this and would like to share the code.

Peter Hibbs.
Re: Allen Browne Popup Calendar - Positioning Form.
"Linq Adams via AccessMonster.com" <u28780[ at ]uwe> 12/27/2008 4:53:46 PM
There may be a slicker way to do this, but I simply open the calendar form in
Design View and using trial and error position it. Move the form where you
think it should be, click on save and close without doing anything else. Open
your main form and click on your button. Repeat this until you get it
positioned like you want it.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200812/1

Re: Allen Browne Popup Calendar - Positioning Form.
Peter Hibbs <peter.hibbs[ at ]btinternet.com.NO_SPAM> 12/27/2008 5:02:21 PM
And what happens if you have more than one calendar button on the form
(as I have)?

Peter Hibbs.

On Sat, 27 Dec 2008 16:53:46 GMT, "Linq Adams via AccessMonster.com"
<u28780[ at ]uwe> wrote:

[Quoted Text]
>There may be a slicker way to do this, but I simply open the calendar form in
>Design View and using trial and error position it. Move the form where you
>think it should be, click on save and close without doing anything else. Open
>your main form and click on your button. Repeat this until you get it
>positioned like you want it.
Re: Allen Browne Popup Calendar - Positioning Form.
"Stuart McCall" <smccall[ at ]myunrealbox.com> 12/27/2008 5:11:57 PM
"Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in message
news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
[Quoted Text]
> Access 2003.
>
> I am using the Popup Calendar from Allen Browne.
>
> What I would like to happen is when the user clicks on the calendar
> button on the form (which is positioned immediately to the right of
> the associated date field), is for the popup calendar form to be
> positioned at the same co-ordinates as the button instead of in the
> middle of the form. That is, the top left corner of the popup calendar
> to be the same as the top left corner of the calendar button. I may
> have to ensure that the buttons are not near the right or bottom edges
> of the form but that should be possible.
>
> At the moment I don't see any easy way to do this so I am wondering if
> anyone has done this and would like to share the code.
>
> Peter Hibbs.

This code will do what you want:

http://www.smccall.demon.co.uk/Forms.htm#OpenUnder

Also you won't need to ensure that the buttons are not near the right or
bottom edges of the form. That's adjusted in the code.


Re: Allen Browne Popup Calendar - Positioning Form.
Peter Hibbs <peter.hibbs[ at ]btinternet.com.NO_SPAM> 12/27/2008 5:20:34 PM
Stuart,

Thanks, that is a whole lot of code, I will investigate tomorrow and
see what I can come up with.

Peter Hibbs.

On Sat, 27 Dec 2008 17:11:57 -0000, "Stuart McCall"
<smccall[ at ]myunrealbox.com> wrote:

[Quoted Text]
>"Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in message
>news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
>> Access 2003.
>>
>> I am using the Popup Calendar from Allen Browne.
>>
>> What I would like to happen is when the user clicks on the calendar
>> button on the form (which is positioned immediately to the right of
>> the associated date field), is for the popup calendar form to be
>> positioned at the same co-ordinates as the button instead of in the
>> middle of the form. That is, the top left corner of the popup calendar
>> to be the same as the top left corner of the calendar button. I may
>> have to ensure that the buttons are not near the right or bottom edges
>> of the form but that should be possible.
>>
>> At the moment I don't see any easy way to do this so I am wondering if
>> anyone has done this and would like to share the code.
>>
>> Peter Hibbs.
>
>This code will do what you want:
>
>http://www.smccall.demon.co.uk/Forms.htm#OpenUnder
>
>Also you won't need to ensure that the buttons are not near the right or
>bottom edges of the form. That's adjusted in the code.
>
Re: Allen Browne Popup Calendar - Positioning Form.
"Jeanette Cunningham" <nnn[ at ]discussions.microsoft.com> 12/28/2008 8:58:37 AM
Hi
I used some similar code to do the same thing using A2003.
When the database was used in A2007 (as an .mde), the date control and the
button/image froze whenever the calendar button/icon was clicked.

I ended up needing to remove all the code to position the calendar. By the
way, I was also using Allen Browne's popup calendar.



Jeanette Cunningham


"Stuart McCall" <smccall[ at ]myunrealbox.com> wrote in message
news:O$wW9YEaJHA.5488[ at ]TK2MSFTNGP03.phx.gbl...
[Quoted Text]
> "Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in message
> news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
>> Access 2003.
>>
>> I am using the Popup Calendar from Allen Browne.
>>
>> What I would like to happen is when the user clicks on the calendar
>> button on the form (which is positioned immediately to the right of
>> the associated date field), is for the popup calendar form to be
>> positioned at the same co-ordinates as the button instead of in the
>> middle of the form. That is, the top left corner of the popup calendar
>> to be the same as the top left corner of the calendar button. I may
>> have to ensure that the buttons are not near the right or bottom edges
>> of the form but that should be possible.
>>
>> At the moment I don't see any easy way to do this so I am wondering if
>> anyone has done this and would like to share the code.
>>
>> Peter Hibbs.
>
> This code will do what you want:
>
> http://www.smccall.demon.co.uk/Forms.htm#OpenUnder
>
> Also you won't need to ensure that the buttons are not near the right or
> bottom edges of the form. That's adjusted in the code.
>
>


Re: Allen Browne Popup Calendar - Positioning Form.
Peter Hibbs <peter.hibbs[ at ]btinternet.com.NO_SPAM> 12/28/2008 9:56:51 AM
Jeanette,

Thanks for that tip, this database will very likely be used on A2007
at a later date so I will test any code I use on that version first.

As a matter of interest, did you manage to determine why the code did
not work and would it have been possible to disable the calendar code
if it is being used under Access 2007 (since this facility is built in
on that version).

Peter Hibbs.

On Sun, 28 Dec 2008 19:58:37 +1100, "Jeanette Cunningham"
<nnn[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>Hi
>I used some similar code to do the same thing using A2003.
>When the database was used in A2007 (as an .mde), the date control and the
>button/image froze whenever the calendar button/icon was clicked.
>
>I ended up needing to remove all the code to position the calendar. By the
>way, I was also using Allen Browne's popup calendar.
>
>
>
>Jeanette Cunningham
>
>
>"Stuart McCall" <smccall[ at ]myunrealbox.com> wrote in message
>news:O$wW9YEaJHA.5488[ at ]TK2MSFTNGP03.phx.gbl...
>> "Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in message
>> news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
>>> Access 2003.
>>>
>>> I am using the Popup Calendar from Allen Browne.
>>>
>>> What I would like to happen is when the user clicks on the calendar
>>> button on the form (which is positioned immediately to the right of
>>> the associated date field), is for the popup calendar form to be
>>> positioned at the same co-ordinates as the button instead of in the
>>> middle of the form. That is, the top left corner of the popup calendar
>>> to be the same as the top left corner of the calendar button. I may
>>> have to ensure that the buttons are not near the right or bottom edges
>>> of the form but that should be possible.
>>>
>>> At the moment I don't see any easy way to do this so I am wondering if
>>> anyone has done this and would like to share the code.
>>>
>>> Peter Hibbs.
>>
>> This code will do what you want:
>>
>> http://www.smccall.demon.co.uk/Forms.htm#OpenUnder
>>
>> Also you won't need to ensure that the buttons are not near the right or
>> bottom edges of the form. That's adjusted in the code.
>>
>>
>
Re: Allen Browne Popup Calendar - Positioning Form.
"Mike Painter" <mddotpainter[ at ]sbcglobal.net> 12/28/2008 5:54:54 PM
2007 has this feature standard but it only works on an .accdb file.
The icon comes and goes on an .mdb file but does nothing else.


Peter Hibbs wrote:
[Quoted Text]
> Jeanette,
>
> Thanks for that tip, this database will very likely be used on A2007
> at a later date so I will test any code I use on that version first.
>
> As a matter of interest, did you manage to determine why the code did
> not work and would it have been possible to disable the calendar code
> if it is being used under Access 2007 (since this facility is built in
> on that version).
>
> Peter Hibbs.
>
> On Sun, 28 Dec 2008 19:58:37 +1100, "Jeanette Cunningham"
> <nnn[ at ]discussions.microsoft.com> wrote:
>
>> Hi
>> I used some similar code to do the same thing using A2003.
>> When the database was used in A2007 (as an .mde), the date control
>> and the button/image froze whenever the calendar button/icon was
>> clicked.
>>
>> I ended up needing to remove all the code to position the calendar.
>> By the way, I was also using Allen Browne's popup calendar.
>>
>>
>>
>> Jeanette Cunningham
>>
>>
>> "Stuart McCall" <smccall[ at ]myunrealbox.com> wrote in message
>> news:O$wW9YEaJHA.5488[ at ]TK2MSFTNGP03.phx.gbl...
>>> "Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in message
>>> news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
>>>> Access 2003.
>>>>
>>>> I am using the Popup Calendar from Allen Browne.
>>>>
>>>> What I would like to happen is when the user clicks on the calendar
>>>> button on the form (which is positioned immediately to the right of
>>>> the associated date field), is for the popup calendar form to be
>>>> positioned at the same co-ordinates as the button instead of in the
>>>> middle of the form. That is, the top left corner of the popup
>>>> calendar to be the same as the top left corner of the calendar
>>>> button. I may have to ensure that the buttons are not near the
>>>> right or bottom edges of the form but that should be possible.
>>>>
>>>> At the moment I don't see any easy way to do this so I am
>>>> wondering if anyone has done this and would like to share the code.
>>>>
>>>> Peter Hibbs.
>>>
>>> This code will do what you want:
>>>
>>> http://www.smccall.demon.co.uk/Forms.htm#OpenUnder
>>>
>>> Also you won't need to ensure that the buttons are not near the
>>> right or bottom edges of the form. That's adjusted in the code.


Re: Allen Browne Popup Calendar - Positioning Form.
"Pete D." <pduffy211AT[ at ]coxDOT.net> 12/28/2008 6:31:21 PM
I use it in 2007 with old mdb files with my date fields and it works fine.
As a matter of fact I removed the code version so I wouldn't have two.
"Mike Painter" <mddotpainter[ at ]sbcglobal.net> wrote in message
news:x%O5l.6932$8_3.3127[ at ]flpi147.ffdc.sbc.com...
[Quoted Text]
> 2007 has this feature standard but it only works on an .accdb file.
> The icon comes and goes on an .mdb file but does nothing else.
>
>
> Peter Hibbs wrote:
>> Jeanette,
>>
>> Thanks for that tip, this database will very likely be used on A2007
>> at a later date so I will test any code I use on that version first.
>>
>> As a matter of interest, did you manage to determine why the code did
>> not work and would it have been possible to disable the calendar code
>> if it is being used under Access 2007 (since this facility is built in
>> on that version).
>>
>> Peter Hibbs.
>>
>> On Sun, 28 Dec 2008 19:58:37 +1100, "Jeanette Cunningham"
>> <nnn[ at ]discussions.microsoft.com> wrote:
>>
>>> Hi
>>> I used some similar code to do the same thing using A2003.
>>> When the database was used in A2007 (as an .mde), the date control
>>> and the button/image froze whenever the calendar button/icon was
>>> clicked.
>>>
>>> I ended up needing to remove all the code to position the calendar.
>>> By the way, I was also using Allen Browne's popup calendar.
>>>
>>>
>>>
>>> Jeanette Cunningham
>>>
>>>
>>> "Stuart McCall" <smccall[ at ]myunrealbox.com> wrote in message
>>> news:O$wW9YEaJHA.5488[ at ]TK2MSFTNGP03.phx.gbl...
>>>> "Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in message
>>>> news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
>>>>> Access 2003.
>>>>>
>>>>> I am using the Popup Calendar from Allen Browne.
>>>>>
>>>>> What I would like to happen is when the user clicks on the calendar
>>>>> button on the form (which is positioned immediately to the right of
>>>>> the associated date field), is for the popup calendar form to be
>>>>> positioned at the same co-ordinates as the button instead of in the
>>>>> middle of the form. That is, the top left corner of the popup
>>>>> calendar to be the same as the top left corner of the calendar
>>>>> button. I may have to ensure that the buttons are not near the
>>>>> right or bottom edges of the form but that should be possible.
>>>>>
>>>>> At the moment I don't see any easy way to do this so I am
>>>>> wondering if anyone has done this and would like to share the code.
>>>>>
>>>>> Peter Hibbs.
>>>>
>>>> This code will do what you want:
>>>>
>>>> http://www.smccall.demon.co.uk/Forms.htm#OpenUnder
>>>>
>>>> Also you won't need to ensure that the buttons are not near the
>>>> right or bottom edges of the form. That's adjusted in the code.
>
>


Re: Allen Browne Popup Calendar - Positioning Form.
"Mike Painter" <mddotpainter[ at ]sbcglobal.net> 12/28/2008 8:28:58 PM

Really, even with everything set in teh table all I saw was the icon which
disappeared when I entered the field..
What kind of cookies do you feed the brownies with?
Pete D. wrote:
[Quoted Text]
> I use it in 2007 with old mdb files with my date fields and it works
> fine. As a matter of fact I removed the code version so I wouldn't
> have two. "Mike Painter" <mddotpainter[ at ]sbcglobal.net> wrote in message
> news:x%O5l.6932$8_3.3127[ at ]flpi147.ffdc.sbc.com...
>> 2007 has this feature standard but it only works on an .accdb file.
>> The icon comes and goes on an .mdb file but does nothing else.
>>
>>
>> Peter Hibbs wrote:
>>> Jeanette,
>>>
>>> Thanks for that tip, this database will very likely be used on A2007
>>> at a later date so I will test any code I use on that version first.
>>>
>>> As a matter of interest, did you manage to determine why the code
>>> did not work and would it have been possible to disable the
>>> calendar code if it is being used under Access 2007 (since this
>>> facility is built in on that version).
>>>
>>> Peter Hibbs.
>>>
>>> On Sun, 28 Dec 2008 19:58:37 +1100, "Jeanette Cunningham"
>>> <nnn[ at ]discussions.microsoft.com> wrote:
>>>
>>>> Hi
>>>> I used some similar code to do the same thing using A2003.
>>>> When the database was used in A2007 (as an .mde), the date control
>>>> and the button/image froze whenever the calendar button/icon was
>>>> clicked.
>>>>
>>>> I ended up needing to remove all the code to position the calendar.
>>>> By the way, I was also using Allen Browne's popup calendar.
>>>>
>>>>
>>>>
>>>> Jeanette Cunningham
>>>>
>>>>
>>>> "Stuart McCall" <smccall[ at ]myunrealbox.com> wrote in message
>>>> news:O$wW9YEaJHA.5488[ at ]TK2MSFTNGP03.phx.gbl...
>>>>> "Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in
>>>>> message news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
>>>>>> Access 2003.
>>>>>>
>>>>>> I am using the Popup Calendar from Allen Browne.
>>>>>>
>>>>>> What I would like to happen is when the user clicks on the
>>>>>> calendar button on the form (which is positioned immediately to
>>>>>> the right of the associated date field), is for the popup
>>>>>> calendar form to be positioned at the same co-ordinates as the
>>>>>> button instead of in the middle of the form. That is, the top
>>>>>> left corner of the popup calendar to be the same as the top left
>>>>>> corner of the calendar button. I may have to ensure that the
>>>>>> buttons are not near the right or bottom edges of the form but
>>>>>> that should be possible. At the moment I don't see any easy way to do
>>>>>> this so I am
>>>>>> wondering if anyone has done this and would like to share the
>>>>>> code. Peter Hibbs.
>>>>>
>>>>> This code will do what you want:
>>>>>
>>>>> http://www.smccall.demon.co.uk/Forms.htm#OpenUnder
>>>>>
>>>>> Also you won't need to ensure that the buttons are not near the
>>>>> right or bottom edges of the form. That's adjusted in the code.


Re: Allen Browne Popup Calendar - Positioning Form.
"Pete D." <pduffy211AT[ at ]coxDOT.net> 12/28/2008 9:37:56 PM
I did find that if the control had some input masks the date picker didn't
work but if I strip that and set the display format to whatever I wanted it
worked fine.
"Mike Painter" <mddotpainter[ at ]sbcglobal.net> wrote in message
news:9kR5l.15677$ZP4.2733[ at ]nlpi067.nbdc.sbc.com...
[Quoted Text]
>
> Really, even with everything set in teh table all I saw was the icon which
> disappeared when I entered the field..
> What kind of cookies do you feed the brownies with?
> Pete D. wrote:
>> I use it in 2007 with old mdb files with my date fields and it works
>> fine. As a matter of fact I removed the code version so I wouldn't
>> have two. "Mike Painter" <mddotpainter[ at ]sbcglobal.net> wrote in message
>> news:x%O5l.6932$8_3.3127[ at ]flpi147.ffdc.sbc.com...
>>> 2007 has this feature standard but it only works on an .accdb file.
>>> The icon comes and goes on an .mdb file but does nothing else.
>>>
>>>
>>> Peter Hibbs wrote:
>>>> Jeanette,
>>>>
>>>> Thanks for that tip, this database will very likely be used on A2007
>>>> at a later date so I will test any code I use on that version first.
>>>>
>>>> As a matter of interest, did you manage to determine why the code
>>>> did not work and would it have been possible to disable the
>>>> calendar code if it is being used under Access 2007 (since this
>>>> facility is built in on that version).
>>>>
>>>> Peter Hibbs.
>>>>
>>>> On Sun, 28 Dec 2008 19:58:37 +1100, "Jeanette Cunningham"
>>>> <nnn[ at ]discussions.microsoft.com> wrote:
>>>>
>>>>> Hi
>>>>> I used some similar code to do the same thing using A2003.
>>>>> When the database was used in A2007 (as an .mde), the date control
>>>>> and the button/image froze whenever the calendar button/icon was
>>>>> clicked.
>>>>>
>>>>> I ended up needing to remove all the code to position the calendar.
>>>>> By the way, I was also using Allen Browne's popup calendar.
>>>>>
>>>>>
>>>>>
>>>>> Jeanette Cunningham
>>>>>
>>>>>
>>>>> "Stuart McCall" <smccall[ at ]myunrealbox.com> wrote in message
>>>>> news:O$wW9YEaJHA.5488[ at ]TK2MSFTNGP03.phx.gbl...
>>>>>> "Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in
>>>>>> message news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
>>>>>>> Access 2003.
>>>>>>>
>>>>>>> I am using the Popup Calendar from Allen Browne.
>>>>>>>
>>>>>>> What I would like to happen is when the user clicks on the
>>>>>>> calendar button on the form (which is positioned immediately to
>>>>>>> the right of the associated date field), is for the popup
>>>>>>> calendar form to be positioned at the same co-ordinates as the
>>>>>>> button instead of in the middle of the form. That is, the top
>>>>>>> left corner of the popup calendar to be the same as the top left
>>>>>>> corner of the calendar button. I may have to ensure that the
>>>>>>> buttons are not near the right or bottom edges of the form but
>>>>>>> that should be possible. At the moment I don't see any easy way to
>>>>>>> do this so I am
>>>>>>> wondering if anyone has done this and would like to share the
>>>>>>> code. Peter Hibbs.
>>>>>>
>>>>>> This code will do what you want:
>>>>>>
>>>>>> http://www.smccall.demon.co.uk/Forms.htm#OpenUnder
>>>>>>
>>>>>> Also you won't need to ensure that the buttons are not near the
>>>>>> right or bottom edges of the form. That's adjusted in the code.
>
>


Re: Allen Browne Popup Calendar - Positioning Form.
"Jeanette Cunningham" <nnn[ at ]discussions.microsoft.com> 12/29/2008 3:09:31 AM
No, I haven't had time to play with it yet.

Jeanette Cunningham

"Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in message
news:euiel4dvu8acp3i849cetdeaolp0u1c5p9[ at ]4ax.com...
[Quoted Text]
> Jeanette,
>
> Thanks for that tip, this database will very likely be used on A2007
> at a later date so I will test any code I use on that version first.
>
> As a matter of interest, did you manage to determine why the code did
> not work and would it have been possible to disable the calendar code
> if it is being used under Access 2007 (since this facility is built in
> on that version).
>
> Peter Hibbs.
>
> On Sun, 28 Dec 2008 19:58:37 +1100, "Jeanette Cunningham"
> <nnn[ at ]discussions.microsoft.com> wrote:
>
>>Hi
>>I used some similar code to do the same thing using A2003.
>>When the database was used in A2007 (as an .mde), the date control and the
>>button/image froze whenever the calendar button/icon was clicked.
>>
>>I ended up needing to remove all the code to position the calendar. By the
>>way, I was also using Allen Browne's popup calendar.
>>
>>
>>
>>Jeanette Cunningham
>>
>>
>>"Stuart McCall" <smccall[ at ]myunrealbox.com> wrote in message
>>news:O$wW9YEaJHA.5488[ at ]TK2MSFTNGP03.phx.gbl...
>>> "Peter Hibbs" <peter.hibbs[ at ]btinternet.com.NO_SPAM> wrote in message
>>> news:kbkcl4h4cek5cmlasbibo4rr44gt427e2n[ at ]4ax.com...
>>>> Access 2003.
>>>>
>>>> I am using the Popup Calendar from Allen Browne.
>>>>
>>>> What I would like to happen is when the user clicks on the calendar
>>>> button on the form (which is positioned immediately to the right of
>>>> the associated date field), is for the popup calendar form to be
>>>> positioned at the same co-ordinates as the button instead of in the
>>>> middle of the form. That is, the top left corner of the popup calendar
>>>> to be the same as the top left corner of the calendar button. I may
>>>> have to ensure that the buttons are not near the right or bottom edges
>>>> of the form but that should be possible.
>>>>
>>>> At the moment I don't see any easy way to do this so I am wondering if
>>>> anyone has done this and would like to share the code.
>>>>
>>>> Peter Hibbs.
>>>
>>> This code will do what you want:
>>>
>>> http://www.smccall.demon.co.uk/Forms.htm#OpenUnder
>>>
>>> Also you won't need to ensure that the buttons are not near the right or
>>> bottom edges of the form. That's adjusted in the code.
>>>
>>>
>>


Re: Allen Browne Popup Calendar - Positioning Form.
Mishanya 12/30/2008 12:31:01 PM
Hi Piter
I've had the same issue with having more then one calling-a-calenader button
on my form.
Ended up with copy of the calendar-form for every button (with small
respective adjustments in the buttons code) and positioning them thru opening
in DesignView and saving in the needed spot.
Seems like the most simple solution not requiring cubersome extra code -
just a few more same forms in the DB.
"Peter Hibbs" wrote:

[Quoted Text]
> And what happens if you have more than one calendar button on the form
> (as I have)?
>
> Peter Hibbs.
>
> On Sat, 27 Dec 2008 16:53:46 GMT, "Linq Adams via AccessMonster.com"
> <u28780[ at ]uwe> wrote:
>
> >There may be a slicker way to do this, but I simply open the calendar form in
> >Design View and using trial and error position it. Move the form where you
> >think it should be, click on save and close without doing anything else. Open
> >your main form and click on your button. Repeat this until you get it
> >positioned like you want it.
>
Re: Allen Browne Popup Calendar - Positioning Form.
"Pete D." <pduffy211AT[ at ]coxDOT.net> 12/30/2008 10:27:29 PM
What about the movesize command? Relitive to the top left corner. Doug
Steele suggested this in a forum response awhile ago that I used. Can't
find it or my code I created now though, sorry. Have to use some code
relative to the control position. Link below might also help.
http://forums.whirlpool.net.au/forum-replies-archive.cfm/614018.html

"Mishanya" <Mishanya[ at ]discussions.microsoft.com> wrote in message
news:CA04BC24-7902-416A-A87E-C578F7B07B34[ at ]microsoft.com...
[Quoted Text]
> Hi Piter
> I've had the same issue with having more then one calling-a-calenader
> button
> on my form.
> Ended up with copy of the calendar-form for every button (with small
> respective adjustments in the buttons code) and positioning them thru
> opening
> in DesignView and saving in the needed spot.
> Seems like the most simple solution not requiring cubersome extra code -
> just a few more same forms in the DB.
> "Peter Hibbs" wrote:
>
>> And what happens if you have more than one calendar button on the form
>> (as I have)?
>>
>> Peter Hibbs.
>>
>> On Sat, 27 Dec 2008 16:53:46 GMT, "Linq Adams via AccessMonster.com"
>> <u28780[ at ]uwe> wrote:
>>
>> >There may be a slicker way to do this, but I simply open the calendar
>> >form in
>> >Design View and using trial and error position it. Move the form where
>> >you
>> >think it should be, click on save and close without doing anything else.
>> >Open
>> >your main form and click on your button. Repeat this until you get it
>> >positioned like you want it.
>>


Home | Search | Terms | Imprint
Newsgroups Reader