Hi :)

I have a software, which contain
several forms that are open at the same time.
And i have caple of problems with it:
1) How can i do that all the forms will minimize
when i minimize the main form ?
2) I have some forms that supose to be at the top of the screen
all the time (form.topmost) but the problem is
when i go to another program (while my software is open)
those forms are still at the top of the screen, i dont want them
to be at the top when my software lost focus, how can i do it ?
(i tryed to make all the forms.topmost=false, when my main forum
lost his focus, but its not working :/)


Thanks.

If you have a main form that makes subforms, you should be using an MDI application design. That fixes both of the problems right out of the box.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.