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.

11<br />

C H A P T E R 1 1<br />

11 Dialogs<br />

You can add custom dialog windows and forms to <strong>OpenOffice</strong>.<strong>org</strong> documents. These in turn can be linked to<br />

<strong>OpenOffice</strong>.<strong>org</strong> Basic macros to considerably extend the usage range of <strong>OpenOffice</strong>.<strong>org</strong> Basic. Dialogs can, for<br />

example, display database information or guide users through a step-by-step process of creating a new document<br />

in the form of a Wizard.<br />

Tip - You will find another description of dialogs in the Developer's <strong>Guide</strong>:<br />

chapter <strong>OpenOffice</strong>.<strong>org</strong>_Basic_IDE describes more fully the IDE<br />

chapter Programming Dialogs and Dialog Controls shows more examples in Basic.<br />

Working With Dialogs<br />

<strong>OpenOffice</strong>.<strong>org</strong> Basic dialogs consist of a dialog window that can contain text fields, list boxes, radio buttons, and<br />

other control elements.<br />

Creating Dialogs<br />

You can create and structure dialogs using the <strong>OpenOffice</strong>.<strong>org</strong> dialog editor:<br />

Create and structure dialogs in the dialog editor<br />

You can drag the control elements from the design pallet (right) into the dialog area, and define their position and<br />

151

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

Saved successfully!

Ooh no, something went wrong!