User Tools

Site Tools



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

Link to this comparison view

koda:en:documentation:control_list [2014/07/10 10:48] (current)
Line 1: Line 1:
 +====== List ======
 +|class="​cboxcell1"​|{{ ​ control_list.gif ​ |}}
 +Creates a list control
 +|**Align**|{{KODA>​VAR>​Align}} |
 +|**Color**|{{KODA>​VAR>​Color}} |
 +|**ContextMenu**|{{KODA>​VAR>​ContextMenu}} |
 +|**Cursor**|{{KODA>​VAR>​Cursor}} |
 +|**Enabled**|False generates <color blue>​GUICtrlSetState(-1,​ $GUI_DISABLE)</​color>​ |
 +|**Font**|{{KODA>​VAR>​Font}} |
 +|**Left,​Top**|{{KODA>​VAR>​Left,​Top}} |
 +|**Width,​Height**|{{KODA>​VAR>​Width,​Height}} |
 +|**Hint**|Text that appears when cursor hovers over control. Generates call to <color blue>​GUICtrlSetTip</​color>​ |
 +|**Items**|Double-click to open [[proped_strings_editor]]. Enter one item per line. Generates call to <color blue>​GUICtrlSetData</​color>​ which uses item separator specified in  Options->​Options->​Code Generator Formatting|
 +|**Name**|{{KODA>​VAR>​Name}} |
 +|**OnClick**|{{KODA>​VAR>​StdEvent}} |
 +|**Resizing**|{{KODA>​VAR>​Resizing}} |
 +|**TabOrder**|Sequence in which controls are selected with the <​key>​Tab</​key>​ and <​key>​S-Tab</​key>​ keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the [[dialog_tab_order_editor|TabOrder Visual Editor]]: press <​key>​C-t</​key>​ to open it. |
 +|**Visible**|If False, generates <color blue>​GUICtrlSetState(-1,​ $GUI_HIDE)</​color>​ |
 +|LBS_NOTIFY|Sends notification messages to form when use clicks or double-clicks an item, or uses the keyboard to change a selection |
 +|LBS_SORT|Sorts string items alphabetically |
 +|LBS_MULTIPLESEL|User can click to select multiple items |
 +|LBS_HASSTRINGS|Specifies that control contains items consisting of text, and that they are to be stored in memory managed by the control. |
 +|LBS_USETABSTOPS|Recognizes and expands tab characters in strings. ​ Send LB_SETTABSTOPS to override the default positions |
 +|LBS_NOINTEGRALHEIGHT|List box is exactly Height pixels high, rather than adjusting so no items show partially |
 +|LBS_DISABLENOSCROLL|Scroll bar(s) show even when not needed |
 +|LBS_NOSEL|Items can be viewed but not selected |
 +|LBS_MULTICOLUMN|When one column of items fills the height of the control, items continue in a second column |
 +|LBS_WANTKEYBOARDINPUT|User can select items with keystrokes ​ |
 +|LBS_EXTENDEDSEL|User can click to select one item, then shift-click to select all items down to (or up to) another item |
 +|LBS_NODATA|For use when huge number of items. User code populates list and handles it, managing the memory required |
 +|WS_TABSTOP|Control can be selected with <​key>​Tab</​key>​ and <​key>​S-Tab</​key>​ |
 +#​remarks_header[Extra Styles:]#
koda/en/documentation/control_list.txt ยท Last modified: 2014/07/10 10:48 (external edit)