Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best approach
Message
 
To
01/04/1999 14:32:14
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00204374
Message ID:
00204400
Views:
15
Hi Alex,

>Thnx for your advise, I use this but, I need to know easily which line I'm on.

OK, that's indeed more difficult. Have you tried to play with TXTWIDTH() and FONTMETRIC() to determine the line?

Another possibility (although it doesn't look as good) is to use a MODIFY FILE or MODIFY MEMO window without word wrapping being activated. Here you have several API functions to get the current line and column number as well as manipulating the contents of the window. But you have less control, for example you don't have a keypress event.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform