J
John Keith
I have a main list form that shows a row for each school with a total recipts
column. The detail on this form is continuous and clickable to launch into a
detail data edit form. The form header has some selectable drop down
controls to pick a period (all of my queries and reports use this period to
select/filter data). The Form footer has about 8 command buttons to take a
period's data for each school and run various processes/reports. The
placement of the buttons in the footer are crowded and this forces the detail
section to be sized smaller to fit on the screen.
I want to create a 2nd form to house the buttons.
I want to make both forms move and size with each other as a pane of
form-windows.
I want to make opening/closing of either form do the same for the other form.
I need to set a smallest allowed height/width for each form and reset to
that size if a resize operation tries to make it too small.
Which are the proper form-events that should contain the code?
* Open → Load → Resize → Activate → Current
* Unload → Deactivate → Close
Since resizing could trigger another resize, I need to make sure I avoid any
cascading event loops.
I plan on making the Button form be the left most form and sized tall and
narrow with the buttons grouped in a top-to-bottom line. The main list form
would stay positioned to the right of the buttons form and have the same
height. (a min height would be just enough so that all of the buttons remain
visible)
I plan on using the Left, Top, Height and, Width properties to size and
position the form windows.
Any pit-falls to watch out for?
column. The detail on this form is continuous and clickable to launch into a
detail data edit form. The form header has some selectable drop down
controls to pick a period (all of my queries and reports use this period to
select/filter data). The Form footer has about 8 command buttons to take a
period's data for each school and run various processes/reports. The
placement of the buttons in the footer are crowded and this forces the detail
section to be sized smaller to fit on the screen.
I want to create a 2nd form to house the buttons.
I want to make both forms move and size with each other as a pane of
form-windows.
I want to make opening/closing of either form do the same for the other form.
I need to set a smallest allowed height/width for each form and reset to
that size if a resize operation tries to make it too small.
Which are the proper form-events that should contain the code?
* Open → Load → Resize → Activate → Current
* Unload → Deactivate → Close
Since resizing could trigger another resize, I need to make sure I avoid any
cascading event loops.
I plan on making the Button form be the left most form and sized tall and
narrow with the buttons grouped in a top-to-bottom line. The main list form
would stay positioned to the right of the buttons form and have the same
height. (a min height would be just enough so that all of the buttons remain
visible)
I plan on using the Left, Top, Height and, Width properties to size and
position the form windows.
Any pit-falls to watch out for?