954,135 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Scrolling MDI Child form

Hi,

I have a problem

I have an MDI form with a single child form which has borderstyle=none. This child form has lot of controls (like Textboxes and comboboxes). The child form is very big, so half of the controls are not visible. I can drag the scroll bar to view the remaining controls. But, I am using keyboard extensively, and, I want to scroll the form automatically when a contol, which is not visible, gets the focus. I have already completed the form design, So I cannot change the child forms (which is shown one at a time). Please help me by giving a solution to modify the MDI Form code so as to generate the required effect.

thanks

Postmoderm

postmodern
Newbie Poster
2 posts since May 2003
Reputation Points: 11
Solved Threads: 0
 

What version of VB?

Tekmaven
Software Architect
Moderator
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
 

Visual Basic 6

postmodern
Newbie Poster
2 posts since May 2003
Reputation Points: 11
Solved Threads: 0
 

I hope this very late reply helps someone.... :?

This web site is to trap keyboard events and make the screen scroll, but it should be just as simple making this occur off a got focus event on a forms control.

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q244/3/12.asp&NoWebContent=1

bryan_marcum@belcan.com
Newbie Poster
1 post since Jul 2003
Reputation Points: 11
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You