Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form activated by a Toolbar click is topmost disab
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01276104
Message ID:
01276109
Views:
24
Hi Bhavbhuti,

Needing it modal, I *assume* that the form has at least 1 enabled/visible control on it.

I've had trouble when I accidentally had such a form with nothing needing operator input.

good luck

>Hi all
>
>I have a prg based form with the below mentioned properties. I need it to be Modal and at the top of any and all the forms on the VFP app desktop.
>
>
	ALWAYSONTOP= .T.
>	AUTOCENTER = .T.
>	BORDERSTYLE= 0
>	CLOSABLE   = .T.
>	CONTROLBOX = .F.
>	DESKTOP    = .T.
>	MAXBUTTON  = .F.
>	SHOWWINDOW = 1
>	MINBUTTON  = .F.
>	WINDOWTYPE = 1
>
>Currently of this form comes up via a Toolbar click it shows on the top alright, but is disabled (probably thinks it is the child of the toolbar) and I cannot click it away, though I can close the app using the app's close button.
>
>I have tried ShowWindow=2 and the thing becomes modaless (as per help). I have also tried to make Desktop=.F. but no luck. AlwaysOnTop=.F. it becomes modaless and yet unclickable.
>
>Please advise, how can I make this form when activated the child of the top-most form rather than of the toolbar?
>
>Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform