run out of space to put controls on form

V

vbDavidC

I have a form that has like 20 text boxes that are comments.
When I create the textbox I add it below the previous one; eventually I
run out of space on the form. I am able to resize the form but
eventually I cannot continue to add more text boxes. The form height
size maxes out at 812.

I may not be using the right approach. I want to be able to have a
bunch of text boxes underneath each other (they are comment fields that
are multiline and will take up 4 rows of text not that that matters).
There are other controls next to this textbox (radio buttons and
checkboxes) that is not why I don't create a simple grid.

I guess I don't care what the real form size is, all I care about is to
be able to have a form that is scrollable that will eventually have
more textboxes that will currently fit on the form.

I have been trying both VisualBasic 2005 and VB6.

thanks, David
 
F

Fred

David,

can you add a panel to the form, make it Autoscroll, and add your TextBoxes
to the panel.

Fred
 
V

vbDavidC

Fred, I have another question regarding form design, I wonder if I can
give you my email address and I can ask you a couple of other
questions.

The app is for data entry, I am using a paperform as my template. The
paper form is about 6 pages long. What I am thinking is placing each
section (about 6) in its own form and having a separate form for
navigation to switch between forms. I guess as user wants to change
forms, it will appear to go from one form to the other, in VB6 it would
look like like I would unload the current form, and then show the new
form. I guess my navigation buttons, 'next page', 'previous page',
'exit' would be on another form.
 
D

Dick Grier

J

jeff

why not use panels ... 6 panels - one for each 'page' ... and make the
'current' one visible ... and hide the rest.

this way you are not jumping between forms.

If you get really fancy, you could make the 'paper' form a background image
in the respective panel and place your fields over top of the paper form ...
giving the user the illusion of entering the data on the paper form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top