Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Synchronize editboxes
Message
De
16/11/1998 17:16:10
 
 
À
16/11/1998 16:57:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00157890
Message ID:
00158032
Vues:
23
Yeah, I arrived at this too. (GMTA huh?) The problem is getting it to work with scrollbars, which I have basically given up on. I even tried for a while with MOUSE CLICK AT, but decided even I will not stoop to this :-)

I think that the selstart solution will do, and might even be better, because is gives the user the option to view different parts if they want to, using the scrollbars. (Yeah, that's the ticket- this is not a deficiency, but added functionality!!!)

Thanks again for your input.

>Erik ---
>
>I think I stumbled upon an (almost) perfect solution to this:
>
>In the Keypress of Editbox1, do the following:
>
>THIS.Parent.EditBox2.SelStart=THIS.SelStart
>THIS.Parent.EditBox2.Refresh()
>
>>>Yikes....LOL.....this is an example where you follow a lead in Help and it gets you into trouble...looked up Editbox, looked at ScrollBars which led me to Scrolled and DoScroll and suddenly we're not talking editboxes anymore :-) Sorry about that!
>>>
>>
>>No problem, thanks for looking...
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform