Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Editbox's Line and Column position
Message
De
02/02/2009 12:00:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01378690
Message ID:
01378788
Vues:
18
>>>Something like
>>>
>>>lnStart = Thisform.Edit1.SelStart
>>>lcCrLf = CHR(13) + CHR(10)
>>>
>>>lnOccurence = OCCURS(lcCrLf, LEFT(Thisform.Edit1.Text, lnStart))
>>>
>>>lcCommand = STREXTRACT(lcCrLf + Thisform.Edit1.Text, lcCrLf ,lcCrLf, lnOccurence + 1,2) 
>>>
>>>
>>only you Sergey.. only you
>>
>>cool.. so cool... but a little something leaking... the control of [;] character per line to deal with long commands
>>
>>now... I'm trying to deal with that
>
>I guess you meant "lacking". :)

hehe... right right... by this *e* blame my keyboard... <g>

>Not really. If you know how to get line #N, it's easy to get #N+1 or #N-1, and so on.

humm... I've been running in other directions... I'll follow this.. tks
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform