Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form
Message
From
24/08/2005 07:22:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/08/2005 07:19:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01043226
Message ID:
01043234
Views:
9
15 years explain it. If that were 20+ it wouldn't be the first time:)
Cetin

>It works, thank you, but how can explain it is the very forst time it happens ? It' s now quite 15 years since I started developing in VFP ....
>
>
>>>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