Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Synchronize editboxes
Message
From
16/11/1998 17:16:10
 
 
To
16/11/1998 16:57:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00157890
Message ID:
00158032
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform