
Chapter 7: Databases and Data Sources
2. In the Form Navigator dialog, right-click the Main Form item and choose
Properties.
3. Click the Events tab.
As with control events, a user can assign a macro to any form event.
How to use the form
Once one finishes laying out a form, it can be "run" by clicking the Design Mode On/Off
button on the Form Design toolbar. When design mode is off, the controls operate as
expected – the user can select and clear check boxes, open combo boxes and drop-down lists,
and so forth.
Ordinarily, when one opens a saved form, design mode is automatically turned off. So, a user
opening a form the designer supplies, sees it as they would expect. (Be aware, however, that
a user can turn design mode on and change the form.)
When a form linked to a data source has design mode turned off, the Form Navigation
toolbar appears at the bottom of the form.
OpenOffice.org doesn't have a mechanism to prevent users from changing forms to Design
mode. In Microsoft Office, you can protect a form document and give it a password to
prevent users from seeing inside.
OpenOffice.org User Guide for 2.x 387
Comentarios a estos manuales