>>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