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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scrolling form

Status
Not open for further replies.
Dec 9, 2002
13
IN
Hai friends,
This is very urgent for my project. Plz go thru this and suggest me with coding as regards this.
I want to use 50 textboxes in my form. No tabstrip control to be used. I want to show all the 50 textboxes in one form one by one. I cant place all the boxes at design time bcz at design time the form height property can only be maximum of 9000 (why is it so?). This is one drawback. Alternatively, if I have control array and even if I load all the 50 textboxes at run time using coding, I cant see the text boxes which goes down below the form height property (ie) 9000. How will I bring a scroll bar to my form such that if I scroll the vertical scroll bar, the form should be scrolled accordingly. Kindly help.
 
Not sure what you're trying to do, but why not use a grid instead of all those textboxes?
 

Sounds like your resolution is 800x600 which will allow for a form of a maximum size of 12000x9000. (Is it a dell?)

Use a MDI Parent/Child relationship and make the child what ever height you need it to be and set the parents scrollbars = true.

Good Luck

 
Add an MDI form. Make your current form an MDI child. Set it's borders to none. All done.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top