RemoveGadgetColumn()

Syntax

RemoveGadgetColumn(#Gadget, Column)
Description
Removes a column of the specified gadget.

Parameters

#Gadget The gadget to use.
Column The column to remove. The first column has index 0.

Return value

None.

Remarks

The gadget type can be one of the following:

- ListIconGadget()

Example

  If OpenWindow(0, 0, 0, 320, 160, "RemoveGadgetColumn", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

    ListIconGadget(0, 10, 10, 300, 140, "Hello", 100)
      AddGadgetColumn(0, 1, "Column 2", 70)
      AddGadgetColumn(0, 2, "Column 3", 70)

    RemoveGadgetColumn(0, 1) ; Remove the 'Column 2'

    Repeat
  EndIf

See Also

AddGadgetColumn(), ListIconGadget()
<- ProgressBarGadget() - Gadget Index - RemoveGadgetItem() ->