ListControlInsertColumn

Help Contents GUI programming ListControls ListControlInsertColumn
ListControlDestroy ListControlInsertItem

ListControlInsertColumn alistcontrol col labl
(ListControlInsertColumn alistcontrol col labl awidth format)


Command to insert a new column into the ListControl alistcontrol at the column col with the column label labl and column width awidth.

col must be a positive integer number.

labl is the column label text.

awidth is the column width.

format can be wxLIST_FORMAT_LEFT, wxLIST_FORMAT_RIGHT or wxLIST_FORMAT_CENTRE.

Examples:

lc=(ListControl [][MyListControl][][][]
	wxLC_REPORT [0 0][300 200])
(ListControlInsertColumn lc 1 [ID] 30)
(ListControlInsertColumn lc 2 [First Name]
	100 wxLIST_FORMAT_RIGHT)
ListControlInsertColumn lc 3 [Name]

Examples:

References:

ListControlDestroy ListControlInsertItem