Page 1 of 1

Move between the columns

Posted: Thu Apr 23, 2020 3:48 pm
by Natter
Hi,

There is xBrowse installed nMarqueeStyle=2 (Solid cell) I move between the columns with arrows to the right and left. I need to process an event when a particular column gets focus. How do I do this ?

Re: Move between the columns

Posted: Thu Apr 23, 2020 5:32 pm
by FranciscoA
Try to adapt fallowing code:

Code: Select all

WITH OBJECT oBrw
...
   lColChangeNotify := .t.
...
END

...

   oBrw:bChange:={|| iif( UPPER( SUBSTR(oBrw:SelectedCol:cHeader, 1,3) ) = "CTA", oBt3:Enable(), oBt3:Disable() ) }

Re: Move between the columns

Posted: Thu Apr 23, 2020 5:47 pm
by Natter
Thank you, I'll try !