Little question about forms

J

Johan

I'm making a database at home. I take care of my forms, to fit them on the
screen i.e. when the form is maximised, the information on it (lists,
subforms, buttons etc) fills up the form.
On my work, the users have a bigger resolution on their sreens. Because of
that, there is an empty place on the form.
Is there a way to make automatically that the form is always filled
complete?


Thanks
Johan
 
C

chriske911

the same as you would do it from within VB, create all the controls and set
their size and position dependant on the form's size
for example for control1:

control1.width = ((form.width / number of controls) -300)
and
control1.top = ((abovecontrol.top + control1.height) + 250)
and control1.left = ((form.left + mostleftcontrol +
allinbetweencontrols.width) + 200

this way you could make a form completely dynamic resizable but offcourse
this is a lot of work (cq typing in code)

bon chance
 

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