Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form
Message
From
24/08/2005 07:10:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/08/2005 06:49:22
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01043226
Message ID:
01043229
Views:
12
This message has been marked as the solution to the initial question of the thread.
>i made a very simple application based on just one form. I set it as modal but when I run the exe files it flashs...and flies away.
>How come ?
>I tried to set it as top level form , aways on top etc but without success
>
>thx
>Alessio

Alessio,
Top level forms cannotr be modal (and for a single toplevel form you don't need it to be modal). However you can provide modality via read events. ie:
*main.prg
Local oForm
Do Form myForm Name oForm
oForm.Release
Release oForm
* code if any

*myForm.init
this.Show
Read events

*myForm some button click
thisform.hide()
clear events
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform