Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In-Top-Level-Form prevents As-Top-Level-Form come on top
Message
From
07/10/2003 03:43:56
 
 
To
06/10/2003 23:11:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00835178
Message ID:
00835644
Views:
18
>>>Hi Peter,
>>>
>>>>The main form will come on top if the second form is an As-Top-Level-Form and if both have Desktop=False. This is almost okay, but I'd like to have the second form to be a child, for in that case the user can minimize both with one click on the minimize button of the main form.
>>>
>>>You can put code in the Resize event of the main form and set the child form's WindowState property to 1 (minimized)
>>
>>That's not my idea of a good GUI.
>
>Hi Peter,
>
>What I do is have a form manager class do this behavior for me (that of minimized the 'child' forms if the main form is minimized). Kindly enlighten me if this is not a good idea for a good GUI. Thanks.

Hi Dennis,

About your first reply: I thought you adviced to minimize the second form whenever the first form would regain focus. Now I understand that you suggest to minimize it whenever the first form is minimized. It's exactly that behavior that I regard to be good GUI, although it implies that there are entries in the taskbar for each form, which may be too much for some of us.

Initially I wrote: But how about the situation that the first form is not minimized?! As it is now, the first form won't get ON TOP.
Now, after having reflected on Cetin's reply, I'd like to change it to: Good idea to write code that will also minimize other top-level forms if the base top-level form is minimized. Thanks for the tip!
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform