RemoveGadgetColumn()

Syntax

RemoveGadgetColumn(#Gadget, Column)
Description
Removes a column of the specified #Gadget. Column index starts at 0. The gadget type can be one of the following:

- ListIconGadget()
- ExplorerListGadget()

Example:
  If OpenWindow(0, 0, 0, 320, 160, "RemoveGadgetColumn", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) And CreateGadgetList(WindowID(0))
    
    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
    Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf

Supported OS

All

<- ProgressBarGadget() - Gadget Index - RemoveGadgetItem() ->