Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxTools.Fll
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00779823
Message ID:
00779880
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform