Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send Form To Front
Message
From
29/07/2005 18:38:24
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01037148
Message ID:
01037175
Views:
30
I have a problem where when I call a modeless form from another modeless form, the called form is drawn behind the calling form.

This is not natice behavior. I have never seen this happen.

I realise I can simply make the called form .allwaysontop or modal, but I really don't want to do eith of those things. Is there some some command or property that controls the Z depth of forms that I don't see, or is there some way to send a form to the front of the viewing plane? I also experimented with changing the form's parent, but nothing will make it show up in front of the calling form.

Try this inthe Activate of your form class:
Thisform.AlwaysOnTop = .T.
Thisform.AlwaysOnTop = .F.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform