![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
\_/| ------ ProLib - programmers liberty ----------------- (.. ) Our MVPs and MCPs make the Fox run.... |
|
Hi, is there a command in order to avoid to unmark a field and place the cursor behind the last letter in an already filled field. cus_text = C(20) cus_no = N(5) cus_text = 'Beispiel 1' example: browse table.dbf field cus_text, cus_no, the cursor marks the complete field cus_text in which i only want to change the '1' into '2' now i have to place the cursor behind the '1' manually and change it into '2' i hope that there is command, which can place the cursor automatically behind the '1' Any suggestions? Thanks in advance for attention Bernd |
#3
| |||
| |||
|
|
Hi Bernd, If I got your description right, there is no environment setting to do what you want, AFAIK. Aside from an Editbox control in a grid on a form being easier to control than a Browse, how about this: * test.prg CREATE CURSOR theTable (theField C(10), dummy C(10)) INSERT INTO theTable VALUES ("example 1", "nothing") KEYBOARD '{END}' BROWSE NOWAIT If you want to control more than only the first field right after the Browse popping up, the :W clause of the Browse command might help BROWSE FIELDS theField :W=yourFunction(), dummy hth -Stefan -- |\_/| ------ ProLib - programmers liberty ----------------- (.. ) Our MVPs and MCPs make the Fox run.... - / See us at www.prolib.de or www.AFPages.de ----------------------------------------------------------- "Bernd" <bernd (AT) tronsberg (DOT) de> schrieb im Newsbeitrag news:62d965c.0503210223.31cd0b5 (AT) posting (DOT) google.com... Hi, is there a command in order to avoid to unmark a field and place the cursor behind the last letter in an already filled field. cus_text = C(20) cus_no = N(5) cus_text = 'Beispiel 1' example: browse table.dbf field cus_text, cus_no, the cursor marks the complete field cus_text in which i only want to change the '1' into '2' now i have to place the cursor behind the '1' manually and change it into '2' i hope that there is command, which can place the cursor automatically behind the '1' Any suggestions? Thanks in advance for attention Bernd |
![]() |
| Thread Tools | |
| Display Modes | |
| |