Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top Level Dialog box woes
Message
From
27/09/2001 08:58:00
 
 
To
26/09/2001 21:10:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00561009
Message ID:
00561372
Views:
23
Thanks Maurico

I may change my dialog boxes to work the way you suggest.

The solution I have adopted at present is to alter the wrapper code for the dialog in my procedure library. If the wrapper finds there is no window available to show the dialog then it activates the splash screen and shows the dialog in there instead.

Mark




>You can set this properties, maybe works like you want:
>
>WindowType = 1 && Modal
>Autocenter = .T. && To autocenter on screen
>
>If you want to center on current form instead of autocenter, you can do this:
>do form mymodalform with thisform && or: with _Screen
>
>Then on init method:
>Parameters oForm
>
>Local nTop, nLeft
>
>nTop = (oForm.Height - this.height) / 2
>nLeft = (oForm.Width - This.Width) / 2
>This.Move(nTop, nLeft)
>
>***
>Code not tested, I hope this help
>
>Mauricio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform