Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG ? - X not enabled
Message
 
 
To
16/02/2005 23:13:29
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Miscellaneous
Thread ID:
00987428
Message ID:
00987906
Views:
50
>>Do you have a READ EVENTS?
>
>Hi thanx for replying.
>
>My typo
>
>The line should have read
>If i set windowtype = 0 the application just flashes and disappears.
>
>If it is 1 it is modal as good as read events (thats my understanding).

You understand correctly. However, your basic design is a bit flawed. If you want the _screen to be closable, you can not have modal forms and you have to issue a READ EVENTS command to prevent the "flash". Can you post the relevant code from your main PRG file? What we would be interested in is where you are starting your formset. It should be something like:

CLEAR
SET TALK OFF
SET EXLCUSIVE OFF
SET DELETED ON
*!* other setup code here
ON ERROR DoSomethingHere
ON SHUTDOWN QUIT
loFormSet = createobject('formsetclass', 'formsetclass.fxp')
loFormSet.Show()
READ EVENTS && would go here
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform