scripting:dialogs:edit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scripting:dialogs:edit [2015/03/12 11:24] – created adminscripting:dialogs:edit [2018/01/10 20:41] (current) – external edit 127.0.0.1
Line 9: Line 9:
 ^ Property     ^ Default Value   ^ Description    ^ ^ Property     ^ Default Value   ^ Description    ^
 | **id**    | empty | id (name) of the script data object associated with control |   | **id**    | empty | id (name) of the script data object associated with control |  
 +| **text**    | empty | initial text of the control. Will be taken if no variable is bound (variable in dialog storage with name corresponding to //id// property) |  
 | **align**    | stretched | [[scripting:dialogs:align|Alignment]] of the control |   | **align**    | stretched | [[scripting:dialogs:align|Alignment]] of the control |  
 +| **style**    | none | [[scripting:dialogs:edit#Styles|Styles]] of the edit control (can be combined) |  
 | **required**    | false | required property of the control (if control is initial, "positive" buttons will be disabled) |   | **required**    | false | required property of the control (if control is initial, "positive" buttons will be disabled) |  
-| **minwidth**    | 12 | Minimum width, in characters of the list box control |  +| **minwidth**    | | Minimum width, in charactersof the edit box control |   
 +| **minheight**    | 0 | Minimum heights, in characters, of the edit box control. Only relevant for multiline edit box |   
 +| **cuebanner**    | empty | Prompt shown in control background if no text is entered |   
 +| **autocomplete**    | empty | [[scripting:dialogs:autocomplete|Autocomplete]] mode |   
 + 
 +===== Styles ===== 
 +^ Style     ^ Description    ^ 
 +| **none**    | Default mode |   
 +| **password**    | Characters are hidden under asterisk symbols (used for password fields) |   
 +| **lowercase**    | Characters are auto converted to lower case |   
 +| **uppercase**    | Characters are auto converted to UPPER case |   
 +| **number**    | Control allows only decimal digits (0-9) to be entered |   
 +| **readonly**    | Control is grayed and displayed text is not editable |   
 +| **multiline**    | Editor allows to show multiline text (height may be controlled with //minheight// property) |   
 +| **wantreturn**    | Editor accepts Enter keystroke for inserting new line |   
 +| **wordwrap**    | Editor does a word wrap of lines, if it does not fit into control width and horizontal scrolling is disabled|   
 +| **vscroll**    | Control shows vertical scroll bar (in multiline mode only) |   
 +| **hscroll**    | Control shows horizontal scroll bar (in multiline mode only) |  
  
 ===== Example ===== ===== Example =====