Sets the type for the passed column of listbox listboxName.
Parameters:
Name |
Type |
Value |
Description |
listboxName |
String |
name |
ScreenFieldName of the listbox to set the number of columns. Ctrl+Click onto a listbox to retrieve its listboxName (= ScreenFieldName) |
column |
Integer |
0 - n |
Index of the column to set its type. The first column is numbered zero. The maximum number of visible columns is 64 |
value |
String |
DEFAULT |
Default column type |
|
String |
NORMAL |
Normal column |
|
String |
CHECKBOX |
Checkbox column If the cell contains 1, then a box with checked state is shown. In any other case, a box with unchecked state is shown. |
|
String |
EDITABLE |
Inline editable column, using a textfield |
|
String |
TEXTAREA |
Inline editable column, using a textarea |
Available in:
WindowMain |
WindowLink |
YES |
YES |
Hint: You can find references to XojoScripts which make use of this function by sending the following SQL statement to the database:
Select id,GUID, ScriptName,ScriptCode from im_scripts where ScriptCode Like '%ListColumnType%'
Example XojoScript:
ListColumnType("imLB_evt_List3",5,"CHECKBOX")