xBrowse and bKeyDown

xBrowse and bKeyDown

Postby Maurizio » Wed Mar 24, 2010 1: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
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: xBrowse and bKeyDown

Postby nageswaragunupudi » Wed Mar 24, 2010 1:50 pm

Instead of
Code: Select all  Expand view
Val := Eval(oBrw:aColumns[1]:bData)

you can use
Code: Select all  Expand view
oBrw:aCols[ 1 ]:Value
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10627
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse and bKeyDown

Postby Maurizio » Wed Mar 24, 2010 4:57 pm

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

Maurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: xBrowse and bKeyDown

Postby nageswaragunupudi » Thu Mar 25, 2010 1: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
User avatar
nageswaragunupudi
 
Posts: 10627
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse and bKeyDown

Postby Maurizio » Thu Mar 25, 2010 1:52 pm

Nage ,

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

viewtopic.php?f=3&t=18422

Maurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Marc Venken and 98 guests