FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse and bKeyDown
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
xBrowse and bKeyDown
Posted: Wed Mar 24, 2010 01:03 PM

In the old browse ( in a edit cell ) to have the value of the GET I used

oBrw:bKeyDown = { | nKey |msgvalue(oBrw)}

Function MsgValue(oBrw)

Val := Eval(oBrw:aColumns[1]:bData)

msginfo(val)

What I can use th have the same value in xBrowse bKeyDown ?

Regards Maurizio

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse and bKeyDown
Posted: Wed Mar 24, 2010 01:50 PM
Instead of
Code (fw): Select all Collapse
Val := Eval(oBrw:aColumns[1]:bData)

you can use
Code (fw): Select all Collapse
oBrw:aCols[ 1 ]:Value
Regards



G. N. Rao.

Hyderabad, India
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: xBrowse and bKeyDown
Posted: Wed Mar 24, 2010 04:57 PM

Thank Nage
I had already try :Value but it return the value before the input

Maurizio

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse and bKeyDown
Posted: Thu Mar 25, 2010 01:20 PM

What do you want to know? Edit buffer of the current Get being edited? In that case you can query the Get object of the column, oCol:oEditGet.

Regards



G. N. Rao.

Hyderabad, India
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: xBrowse and bKeyDown
Posted: Thu Mar 25, 2010 01:52 PM

Nage ,

I solve with bEditValid , but it doesn't work correctly

viewtopic.php?f=3t=18422

Maurizio

&

Continue the discussion