Well behaved forms - 101 ( was: creating report changed forms )

Drew Jensen <[email protected]> Wed, 03 Feb 2010 02:57:10 -0500
Newsgroups gmane.comp.openoffice.dba.user
Message-ID <[email protected]>
> Which gets us to the part about making it stop.....lol...next email.
>
> One final question to you before I go however
> - By chance do you already know how to add a hidden control to a form?
>
> Till tomorrow (it's pretty late here)
Hello Seb,

Guess it's tomorrow, tonight, isn't it. :>/

Firstly however - saw that you are actually running 3.1.1 (and a variant 
at that :>) - well, then you have a surprise awaiting with the move to 3.2.

With 3.2 when a Base form opens should the application LastZoom factor 
be different from the zoom factor set when the form was saved, the forms 
height and width will also change.

- the size of the form is changed in proportion to the zoom factor 
change so that a form, designed and saved at 100% zoom factor, displayed 
125% at runtime expands enough to keep, where possible, all the controls 
on-screen.

- the form will also contract in size to match a smaller zoom factor for 
aesthetic reasons I suppose.

Given all this then maybe you don't want to get into scripting and 
playing with binding said scripts to events.

So how about for this email a couple of tips:

1) When you open the form in edit mode - turn of the rulers before you 
do anything else!

2) Play around with the default anchoring used when controls are added 
to the form at your own peril!

Alright so that's it for tonight.

If you want to get into scripts and such to take control of such 
settings per form or per all forms in a Base file, ping back.

Best wishes,

Drew