;Autor: Danilo ;http://www.purebasic.fr/english/viewtopic.php?p=364259#p364259 If OpenWindow(0, 0, 0, 600, 300, "ListIcon Example", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ListIconGadget(0, 0, 0, 600, 300, "Name", 100, #PB_ListIcon_FullRowSelect|#PB_ListIcon_AlwaysShowSelection) AddGadgetColumn(0, 1, "Address", 250) AddGadgetItem(0, -1, "Harry Rannit"+Chr(10)+"12 Parliament Way, Battle Street, By the Bay") For a = 1 To 200 AddGadgetItem(0, -1, "Item "+Str(a)+Chr(10)+Hex(Random($FFFFFFFF))) Next a AddGadgetItem(0, -1, "Ginger Brokeit"+Chr(10)+"130 PureBasic Road, BigTown, CodeCity") SendMessage_(GadgetID(0),#LVM_ENSUREVISIBLE,CountGadgetItems(0)-1,0) Repeat Event = WaitWindowEvent() Until Event = #PB_Event_CloseWindow EndIf ; IDE Options = PureBasic 5.31 (Windows - x64) ; CursorPosition = 2 ; EnableUnicode ; EnableXP ; EnableUser ; EnableCompileCount = 0 ; EnableBuildCount = 0