Difference between revisions of "Documentation/DevGuide/Basic/Common Properties"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Basic and Dialogs)
m (Robot: Changing Category:Documentation/Developers Guide/Basic and Dialogs)
Line 23: Line 23:
 
{{PDL1}}
 
{{PDL1}}
  
[[Category:Documentation/Developers Guide/Basic and Dialogs]]
+
[[Category:Documentation/Developer's Guide/Basic and Dialogs]]

Revision as of 07:30, 5 June 2008



All Toolkit control models have a set of identical properties referred as the common properties. These are the properties PositionX, PositionY, Width, Height, Name, TabIndex, Step, and Tag.

Template:Documentation/Note

The PositionX, PositionY, Width, and Height properties change the position and size of a dialog, and control at runtime. When designing a dialog in the dialog editor, these properties are set automatically.

The Name property is required, because all dialogs and controls are referenced by their name. In the dialog editor this name is created from the object name and a number, for example, TextField1.

The TabIndex property defines the order of focusing a control in a dialog when pressing the tabulator key. The index of the first element has the value 0. In the dialog editor the TabIndex property is set automatically when inserting a control. The order can also be changed through the property browser. Take care when setting this property at runtime.

The Tag property adds additional information to a control, such as a remark or number.

The Step property is described in detail in the next section.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools