FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Move between the columns
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Move between the columns
Posted: Thu Apr 23, 2020 03: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 ?

Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: Move between the columns
Posted: Thu Apr 23, 2020 05:32 PM
Try to adapt fallowing code:
Code (fw): Select all Collapse
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
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Move between the columns
Posted: Thu Apr 23, 2020 05:47 PM

Thank you, I'll try !

Continue the discussion