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!
>You're confusing editboxes and grids. I only wish that an editbox had a scrolled event...
>
>>What about intercepting the Scrolled() event in Editbox1 and launching the equivalent DoScroll() in Editbox2?
>>
>>>I have a data entry for that is used for the comparison of two documents in separate memo fields. This is done with two editboxes of exactly the same dimensions. I am trying to get one editbox to scroll when the user scrolls the other. It appears that there is no event that fires when the user clicks the scrollbar besides the editbox mousedown, mouseup, and click events. I guess I could use these and come up with a really fragile kludge, but I would rather not. Has anyone tried this or have any suggestions?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05