Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit box problem.
Message
De
29/11/1999 21:22:36
 
 
À
29/11/1999 08:14:45
Jacky Yuen
Myth Group Computer Technology
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00296145
Message ID:
00296673
Vues:
38
>>>Hi ,
>>> I want to add a bookmark function of my program .
>>> The idea is ,when user press the bookmark in list box,then the edit box will auto jump to the line that the bookmark is.
>>> I try to use SelLength and something like that to do ,but fail .
>>>
>>> Do you have any idea about that ?
>>> Thanx a lot !
>>>
>>> Regards ,
>>>JK
>>
>>If you want to change cursor position in editbox, use SelStart property.
>
>Thanx Edward ,I have solved it.
>But the speed of the process is holy slow .
>The memo size is about 500kb.
>And I need to use about 3-4 second to go to the location that bookmarked.
>Do you have any idea to speed it up ?
>Thanx a lot for your help

I do not know how you keep your bookmarks. If let say you would store an offset, i.e. real Selstart value, then next time it would jump there momentarily, though edit/save may get slower.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform