Managing form focus order and size

  • Thread starter Thread starter Matt Kisasonak
  • Start date Start date
M

Matt Kisasonak

I would like to improve my application by not having
multiple forms visible. I am considering setting the
size of the application window (if possible) and then
having all the forms maximized. If I do this then then I
have a problem with the order the forms receive the focus
when one is closed. Has anybody seen good articals about
this subject or have any ideas to resolve this problem?
Again the problem is having more than one form visible
and also keeping the right focus order when forms are
closed.

Thank you in advance!
 
The simple solution to control the forms order is to set the form to model.
(you will find this setting in the "other" tab in design mode).

What happens with a model form is that you must either:

a) open more forms (presumably launched from this form).

b) when done, you have to first CLOSE the form to return to the previous
form.

So, there is little need to "maximize" all your forms (I find they look VERY
ugly). However, the form sizes should at least be somewhat similar as to not
confuse the users. (but, maximized forms will work in this case also).

Anyway, the model setting is what you need to solve your problems.

A good 80-90% of my forms are model..since I want to user to "complete" the
form before either

a) moving on to the next form in the series

b) user muse close to return to where they came from to finish the task
at hand..

Has anybody seen good articals about
this subject or have any ideas to resolve this problem?

What a great topic idea. I started one for acDialog forms, but not one for
model forms! (again, acDialog forms are MUCH different then model forms).

You can my article here:

http://www.attcanada.net/~kallal.msn/Dialog/Index.html
 
Thanks, one of the little things that I didn't pick up
on. I kinda fixed the form sizing problem by turning the
autosize off and somewhat sizing them the same in design
view and clicking the save button to save the height and
width. Thanks again.
 
Back
Top