| | |
Scrolling MDI Child form
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2003
Posts: 2
Reputation:
Solved Threads: 0
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
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
1
#2 May 16th, 2003
What version of VB?
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
•
•
Join Date: Jul 2003
Posts: 1
Reputation:
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
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
![]() |
Similar Threads
- mdi parent and non mdi child form prob (VB.NET)
- Disable MDI parent form button from MDI child form (VB.NET)
- Trouble: centering child form of a parent MDIForm not performing (Visual Basic 4 / 5 / 6)
- Disable MDI child close button (ASP.NET)
- MDI Child Form Placement (C#)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Word and/or Data Encryption
- Next Thread: dates
Views: 11823 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





