21.08.2013 Views

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Properties 215<br />

Page 1 Page 2<br />

Source: http:/ / <strong>wiki</strong>. services. openoffice. <strong>org</strong>/ w/ index. php? title=Documentation/ <strong>BASIC</strong>_<br />

<strong>Guide</strong>/ Properties&oldid=104515<br />

Principal Authors: Fpe, Ccornell<br />

Events<br />

<strong>OpenOffice</strong>.<strong>org</strong> dialogs and forms are based on an event-oriented programming model<br />

where you can assign event handlers to the control elements. An event handler runs a<br />

predefined procedure when a particular action occurs. You can also edit documents or open<br />

databases with event handling as well as access other control elements.<br />

<strong>OpenOffice</strong>.<strong>org</strong> control elements recognize different types of events that can be triggered in<br />

different situations. These event types can be divided into four groups:<br />

• Mouse control: Events that correspond to mouse actions (for example, simple mouse<br />

movements or a click on a particular screen location).<br />

• Keyboard control: Events that are triggered by keyboard strokes.<br />

• Focus modification: Events that <strong>OpenOffice</strong>.<strong>org</strong> performs when control elements are<br />

activated or deactivated.<br />

• Control element-specific events: Events that only occur in relation to certain control<br />

elements.<br />

When you work with events, make sure that you create the associated dialog in the<br />

<strong>OpenOffice</strong>.<strong>org</strong> development environment and that it contains the required control<br />

elements or documents (if you apply the events to a form).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!