Move between the columns

Post Reply
Natter
Posts: 524
Joined: Mon May 14, 2007 9:49 am

Move between the columns

Post 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 ?
User avatar
FranciscoA
Posts: 1964
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: Move between the columns

Post 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() ) }
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh1204-MySql-TMySql
Natter
Posts: 524
Joined: Mon May 14, 2007 9:49 am

Re: Move between the columns

Post by Natter »

Thank you, I'll try !
Post Reply