>>>OK, I haven't answered a VFP question in a LONG time, so I'll risk being slammed here if I'm wrong....but doesn't that need to be SHOWDIALOG instead of SHOW? Just a wild guess.
>>
>>I found what is causing the problem (right after I posted my question). I had the line _screen.windowstate = 2 _after_ the above code. Once I moved it to the top of the MAIN.PRG the window started working Modal.
>
>Right. You can't change a window between modal and modeless once it's displayed.
>
>Tamar
It only took me an hour of hitting my head against the wall to figure it out.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham