Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you control the cursor position in an @EDIT?

Status
Not open for further replies.

Brak

Programmer
Jul 11, 2001
158
US
Hello,

I wasn't getting to much responce with my original question, so I have decided to approach the problem from a different direction - which needs a different question.

How can I (without using the KEYBOARD command to put arrow keys and such into the buffer) move the cursor in a particular @EDIT? How can I manually edit the cursor position in a particular @EDIT, without actually having the focus on the particular @EDIT, via code?


Thanks in advance.


B"H
Brak
 
The only way I know of would be to change the value of the associated table field and issue a refresh.
Foxpro 'objects' aren't really objects per se, they are merely bitmapped regions of the screen. Therefore, you can't access them the way you would using VFP.
I don't know a way to move the cursor around in an edit region. You can only take portons of the data and manipulate it with string functions like SUBSTR(), LEFT() RIGHT() or +.


-Dave S.-
[cheers]
Even more Fox stuff at:
 
The record in the dbf moves and then I issue the SHOW GET. So the value is changing.
What do you mean exaclty by refresh? I assume issue a SHOW GET, but the cursor possition isn't being lost as it would be with a SHOW GETS. How else can I refresh it?

And I'm using FPW 2.6a


B"H
Brak
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top