21.08.2013 Views

OpenOffice.org BASIC Guide - OpenOffice.org wiki

OpenOffice.org BASIC Guide - OpenOffice.org wiki

OpenOffice.org BASIC Guide - 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<br />

Page 1<br />

Page 2<br />

Tip - You can find an other OOoBasic example here.<br />

Dialogs supporting several languages<br />

The strings of a Dialog can be localized, see the Developer's <strong>Guide</strong> chapter Dialog Localization.<br />

Events<br />

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

event handlers to the control elements. An event handler runs a predefined procedure when a particular action<br />

occurs. You can also edit documents or open databases with event handling as well as access other control<br />

elements.<br />

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

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

Mouse control: Events that correspond to mouse actions (for example, simple mouse movements or a click<br />

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 activated or<br />

deactivated.<br />

156 <strong>OpenOffice</strong>.<strong>org</strong> 3.2 <strong>BASIC</strong> <strong>Guide</strong> · March 2010

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

Saved successfully!

Ooh no, something went wrong!