Move between the columns

Move between the columns

Postby Natter » Thu Apr 23, 2020 3:48 pm

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 ?
Natter
 
Posts: 1224
Joined: Mon May 14, 2007 9:49 am

Re: Move between the columns

Postby FranciscoA » Thu Apr 23, 2020 5:32 pm

Try to adapt fallowing code:
Code: Select all  Expand view  RUN
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.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2159
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: Move between the columns

Postby Natter » Thu Apr 23, 2020 5:47 pm

Thank you, I'll try !
Natter
 
Posts: 1224
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 59 guests