>>I'm having problems with instantiating "modeless" forms. When I create a modeless form, and run my application, it seems to lose focus, which in turn loses it's private datasession, and on down the line... I don't seem to have this problem with Modal forms. The strange thing is that the "lostfocus" event never fires nor does the form ever get destroyed or unloaded...
>>When the form is called from a .prg, via "Do Form whatever..", immediately following the "activate and refresh" methods of the form fire, the weird behavior starts, and execution of the "Do Form" is released, and continues with the following lines of code after the "Do Form"....
>>Any help would be greatly appreciated...
>>
>>Sc
>
>Hi Sean,
>
>This should solve your problem
>
>Do Form whatever
>READ EVENTS
The problem with that is that there is already a READ EVENTS in effect by a global application object..any subsequent READ EVENTS have no effect...do all "modeless" forms revert back to the orginal READ EVENTS?
Sean Campbell
www.upstagesoftware.comsc@upstagesoftware.com**********************************************************
Eddie, I wouldn't be anymore surprised, if tomorrow I woke up with my face stapled to the living room carpet.
Clark W. Griswold
**********************************************************