Difference between revisions of "Documentation/DevGuide/GUI/Text Field Extensions"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Robot: Changing Category:Graphical User Interfaces)
Line 31: Line 31:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Graphical User Interfaces]]
+
 
 +
[[Category:Documentation/Developers Guide/Graphical User Interfaces]]

Revision as of 10:44, 4 June 2008



A user can enter any kind of data into a text field. These values are always stored as a string in the Text property. This can cause some problems when you are evaluating the user input. These controls offer specific solutions to this issue:

  • Formatted field.
  • Date field.
  • Time field.
  • Currency field.
  • Numeric field.
  • Pattern field.
Common Properties of Extensions of a UnoEditControl (text field)
[IDLS:StrictFormat] boolean. If set to true, only the allowed characters as defined by the format of the control are accepted. All other entries typed with the keyboard are ignored.
[IDLS:EnforceFormat] boolean. If set to true,the allowed characters are checked when leaving the focus.
[IDLS:Spin] boolean. The Spin property defines whether the control displays a spin button.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools