September 23, 2020, 01:34:50 pm

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


SETSELECTED in Listbox

Started by Brian, August 24, 2017, 07:39:25 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

Hi,
I'm using SETSELECTED in a Listbox to select a particular line, but I would also like to simulate a mouse click on that line so that it activates other controls
Any ideas how to achieve this?
Brian

Andy

Brian,

Could you not just have an INT variable set to 1 when setselected is used, with this you could have a fast timer checking if the INT is 1.

In the timer section:

If int = 1 then
  Enablecontrol....... 1
Else
  Enablecontrol ...... 0
endif



Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Brian

Thanks, Andy,

I'll look at that idea, although after sleeping on it, I may have another trick in mind

Brian