Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form sometimes on top sometimes not
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00691092
Message ID:
00691216
Views:
16
Hi Colin.

I am running VFP7 with Windows XP. I am calling form b from form a. Both are modal. Most of the time form b appears but every now and then it doesn't. When I cancel the program I find that form b has been opened but is underneath. What can I do about it.

Put this code in the activate of your base form class:
WITH This
  IF .WindowType = 1
    .AlwaysOnTop = .T.
    .AlwaysOnTop = .F.
  ENDIF
ENDWITH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform