I have 2 list boxs on the screen at the same time it seems to be causing me a couple of problems. To select i item i have to douple click the item insted of a single click.
Is it possible to use 2 list boxs on screen at once without problems or should i use 1 list box and make a button to swap its contents?
Heres is my code, i have tryed several variations of this all of which have the same or worse problems
do
` brings list boxs to front of background
bringTofront list_back
bringToFront list_pieces
getEvent
if eventSource()=list_back
if eventType()=MOUSE_CLICK
test = selectedListViewItem(list_back)
`events here
endif
endif
if eventSource()=list_pieces
if eventType()=MOUSE_CLICK
test = selectedListViewItem(list_pieces)
`events here
endif
endif