>Now this will be a combination...
>
>I have a desktop form (_Screen invisible), from which I call a modal, read_only form which has only a display grid. It has no objects to receive focus, it simply displays it and reacts upon Form.KeyPress. It worked like a charm, until I made some changes on WindowState, WindowType, Desktop and such... now this inner modal form behaves as if it weren't modal: it flashes a little, and goes out.
>
>In the debugger I've discovered that after CreateObject()ing and Show()ing that form, the code continues running, as if it wasn't modal. Any idea of where should I look at?
Hi Dragan,
Did you modify ShowWindow to 2 - As Top Level Form? This type of form can't be modal, only modeless.
hth,
George
Ubi caritas et amor, deus ibi est