Form Placement

Is there a way to make a form appear in a certain location, such as the lower right corner when it is opened? Thanks

Devin, I know there are properties XPOS, YPOS and AutoPosition for placing forms in relation to the screen. However, after playing around with these properties, I am unable to place the form in the bottom right hand corner as you requested. However, on the OnOpen trigger of the form, if you set the XPOS and YPOS values, you can position it on the screen - but it’s trial and error as to what values and obviously you’ll have to be careful as to the end users and what resolution they have! Good luck. [;)]

hi the upper left corner of the screen is 0,0. So make dynamic change to the XPOS and YPOS of the from using the HEGIHT And WIDTH property. you have to write this on Open Form. This will work fine, if the user does not DRAG the form to other position. We dont have on-windowResize or Form-Resize Trigger, so i dont think this is a bettter idea to implement. with regards Harikesh

Thanks, setting it to 0,0 on open worked. I don’t care what the user does with it after it is open, I only wanted to make sure the user could see the form as it is a reminder form. The form is called on login so it was obscured by the main menu

You could also call Your reminder form in OnTimer (set to just a few milliseconds) and after that reminder is shown set a boolean to tell Your code that the reminder is allready shown (So the code in OnTimer won’t run again).