max Form Height

R

rbutch

hey guys, this is a VB.NET Windows Application question.
i've got an application that needs to have a ton of controls on it.
it's basically an employee timecard,
so for each ee theres three rows of 16 textboxes, with corresponding dropdown boxes
below each one.
i need to get at least 10, my boss is asking for more on each form.

and im running out of space quickly. the max height the form will allow me is around 780
but, if i set the auto-scroll to true, i can do more.

the only problem is as the controls get larger than the actual workspace, im having to do a "select all" and actually push 'all' the controls up which creates more work-space.

now, to the question. is this the way to do this in a windows app.
i started out doing this web, and the page just gets bigger which is wonderful, but the performance degraded with each addition of a new set of controls.
if anyone has had this problem before, i'd love to hear the solution if there is any.
and if not i guess i can always have the user bring up another form, if that's the case.

thanks for any help or advice on this
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
C

Cor Ligthert

Rik,

See my answer bellow, however this is an Adonet (data newsgroup) your
question is better for the newsgroup.

microsoft.public.dotnet.languages.vb

Your problem.

Set them on panels and hide those when they would not be visible or use
tabpages what is the same with a tab so that the user can select them
him/herself
..
See as well what dock than can do for you.

I hope this helps a little bit.

Cor
 
M

Mythran

Cor Ligthert said:
Rik,

See my answer bellow, however this is an Adonet (data newsgroup) your
question is better for the newsgroup.

microsoft.public.dotnet.languages.vb

Your problem.

Set them on panels and hide those when they would not be visible or use
tabpages what is the same with a tab so that the user can select them
him/herself
.
See as well what dock than can do for you.

I hope this helps a little bit.

Cor

As an alternative, look into the DataGrid control. You may like the
functionality of the DataGrid which provides with all rows being read-only
except 1 row. You can edit a single row and then update the row. Then edit
another row. Inserting data is slower but the rest of the screen renders
faster (in ASP.Net as well as Windows Forms).

Try it out for yourself :)

Mythran
 
R

rbutch

thanks, i had originally thought datagrid, it's really flexible in a windows app.
if the windows form had the same rubberband property that web forms do, i'd be fine.
you know - you can make controls invisible when they pop up - everything else will adjust relative postion to accomodate, plus a web page can just go on forever, or at least i think it can.
and unless, im missing something that doesnt happen in a windows form.

but tab pages might also be the way to go. it's just getting logic into upper managments thinking is the biggest struggle
thanks again
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 

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

Similar Threads


Top