Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autoscroll and position persistence

Status
Not open for further replies.

bppj

Programmer
Jun 6, 2002
24
US
I have a form with an input box and a button at the top. After entering some information and clicking the button, the form adds an indefinate number of child custom controls to the bottom of the form. Because the child controls can be quite numerous, I've selected autoscroll = True so that the user can scroll to the lower controls.

Everything is cool until I try to click a button on one of the controls that is "scrolled to". Instead of launching the appropriate form (as happens if the button is clicked on a control that is visible before scrolling), the autoscroll position appears to be reset to the top, and no event on the child control is apparently called.

What am I missing here?

Thanks,

B.J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top