|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
When I load up a form, I set a macro to maximize it in the "OnLoad" field in properties. However, when the form loads, it moves to the middle of the form rather than the top. For example, the Form Header is on the top of the screen, but after it should be some buttons.. but it shifts to the middle (vertically) of the Form Details. I don't know why this is happening. I crossed checked my other forms properties.. they are the exact same... and my other ones are good. Thanks! |
|
#2
|
|||
|
|||
|
The form maximizes based on your macro, so what is moving to the middle rather than the top I gather you are talking about are some buttons in the forms header. If that is the case you must have some procedure or code moving the buttons when the form is maximized but not sure how. Is there anything else in your macro or in the On Current or Open events of the form? Or is there any kind of macro or code behind the buttons that might be triggering this kind of action? Try placing a blank button next to these buttons in design view in the header section and save and reopen the form normally. See if that button moves as well. There has to be some event taking place to change the Left and Top properties of the controls or changing the forms header height.
lwells |
|
#3
|
|||
|
|||
|
I found out the problem. It's my TabOrdering. I just changed the order to the first thing that is in the Details Section, then it works fine.
Thanks anyways! |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft Access Development > Spacing Problem on Form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|