Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxTools.Fll
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00779823
Message ID:
00779880
Views:
13
>Has anyone used the _EdGetLinePos or _EdGetLineNum functions inside VFP by setting the library to foxtools.fll. I can get some of the functions to work by just stopping at the 8th char and passing in the correct values. But these functions I can't get to work, I assume because if you stop at the 8th charater they both have the same name.


Try this:
SET LIBRARY TO HOME()+'foxtools.fll' ADDI
hw=_WFINDTITL("Window Title")
*preset an array
DIMENSION struenv[25]
_EDGETENV(hw,@struenv)
*the 17th array element contain the selstart position
*_EdGetLNum return the line number
? _EdGetLNum(hw,struenv[17])
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform