Edit fields in TxBrowse

Post Reply
User avatar
Rafael Clemente
Posts: 365
Joined: Sat Oct 08, 2005 7:59 pm
Location: Barcelona, Spain

Edit fields in TxBrowse

Post by Rafael Clemente »

I am using a 3-column TxBrowse and I'd like to edit the three fields of a register, one after the other. For that, I am using three bPostEdit, one for each column:

Code: Select all

bPostEdit1 := {|o,v,n|  iif( n != VK_ESCAPE, ::SaveField(1,v),)}
bPostEdit2 := {|o,v,n|  iif( n != VK_ESCAPE, ::SaveField(2,v),)}
bPostEdit3 := {|o,v,n|  iif( n != VK_ESCAPE, ::SaveField(3,v),)}
But that forces me to click on each of the three fields that I want to edit. Is there any way to make that once edited the first field, the cursor jumps automatically to the second, and enters it in edit mode?
Thanks
Rafael
User avatar
Biel EA6DD
Posts: 680
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca
Contact:

Post by Biel EA6DD »

Hi Rafael,

Set to true the property lFastEdit of xBrowse object.

Code: Select all

oBrw:lFastEdit:=.T.
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
Rafael Clemente
Posts: 365
Joined: Sat Oct 08, 2005 7:59 pm
Location: Barcelona, Spain

Post by Rafael Clemente »

Biel:
Pefect!. Thanks
Rafael
Post Reply