AddColumn
From IfsoGUIWiki
Contents |
Declaration
AddColumn(strTitle:String, iWidth:Int = 80, iType:Int = ifsoGUI_COLUMNTYPE_LABEL, strDefault:String = “”, iIndex:Int = -1)
Adds a column to the gadget.
Returns
Nothing
Parameters
- strTitle:String - Column title.
- iWidth:Int = 80 - Width of the column (defaults to 80).
- iType:Int = ifsoGUI_COLUMNTYPE_LABEL - Column type (defaults to ifsoGUI_COLUMNTYPE_LABEL), can be:
- ifsoGUI_COLUMNTYPE_LABEL - A normal cell, no gadget.
- ifsoGUI_COLUMNTYPE_TEXTBOX - A Textbox gadget.
- ifsoGUI_COLUMNTYPE_CHECKBOX - A Checkbox gadget.
- ifsoGUI_COLUMNTYPE_COMBOBOX - A Combobox gadget.
- ifsoGUI_COLUMNTYPE_PROGRESSBAR - A Progressbar gadget.
- ifsoGUI_COLUMNTYPE_SLIDER - A Slider gadget.
- strDefault:String = “” - The default value for the rows in this column. Defaults to "".
- iIndex:Int = -1 - Index for the new column. Defaults to -1, which tells the column to be added as the last column.
Gadget Information
Pertains to Multi-Column Listbox.
