Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I reopen an SCX file.
Message
 
À
04/11/1998 23:24:56
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00151660
Message ID:
00154753
Vues:
22
>>>Set Library to (Home()+"FoxTools.Fll") Additive
>>>
>>>* get current window
>>>wHandle = _WOnTop()
>>>If m.wHandle == 0
>>> Return
>>>Endif
>>>
>>>* get current line
>>>lnPos = _EdGetPos( m.wHandle )
>>>lnLine = _EdGetLNum( m.wHandle, m.lnPos )
>>>lnStart = _EdGetLPos( m.wHandle, m.lnLine )
>>>lnEnde = _EdGetLPos( m.wHandle, m.lnLine+1 ) - 1
>>>lcLine = _EdGetStr( m.wHandle, m.lnStart, m.lnEnde )
>>>lcLine = ChrTran( m.lcLine, Chr(10)+Chr(13), "" )
>>>
>>>? lcLine
>>>Christof
>>
>>I tried that and either GPF or if I set step on I'm getting a window handle but all the positions are returning 0.
>>
>The above works great. Just had to make sure I had a memo field to work with otherwise it would GPF :).
>
>Thanks again.
>
Hi Dan,

If you haven't already done so, you might want to download my Extended Foxtools Help file in the Coding, Syntax and Commands section. It gives complete, cross-referenced documentation of these and the other functions in Foxtools.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform