Found an issue in SpiderBasic ? Please report it here !
User avatar
Peter
 
Posts: 447
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1

Listviewgadget loses its visual selection when disabled

by Peter Tue Nov 07, 2017 12:12 pm

Hello,

the Listviewgadget loses its visual selection when it is disabled.

Code (from Help):
Code: Select all
OpenWindow(0, 0, 0, 270, 340, "ListViewGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ListViewGadget(0, 10, 10, 250, 320)
For a = 1 To 12
  AddGadgetItem (0, -1, "Item " + Str(a) + " of the Listview") ; define listview content
Next
SetGadgetState(0, 9) ; set (beginning with 0) the tenth item as the active one
DisableGadget(0, #True)
CompilerIf #PB_Compiler_OS <> #PB_OS_Web
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
CompilerEndIf


PureBasic:
Image

SpiderBasic:
Image

Thanks in advance & Greetings ... Peter
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest