Page 1 of 1

About ListBox getting focus

PostPosted: Wed Jun 01, 2016 9:20 am
by carlos torres
Hi dear NBK team

TIA

I tried to use the getfocus property on a listbox/combo as action trigger and that does`nt appear on the GetObjectInfo porperties list.

How can i use the getfocus property in that way (as action trigger)?

I'll appreciate any help

carlost

Re: About ListBox getting focus

PostPosted: Thu Jun 02, 2016 5:58 pm
by Neosoft Support
You could use a Timer object to periodically check the contents of the global variable [FocusedObject]. For example:

If "[FocusedObject]" "=" "ComboBox1"
ShowObject "Text1" "None" "0"
Else
HideObject "Text1" "None" "0"
EndIf

Re: About ListBox getting focus

PostPosted: Fri Jun 03, 2016 10:17 am
by carlos torres
Thanks dear Team

A little tricky but it works!

regards

carlost