Hi Bill
But when you click on the taskbar button you programmatically set AlwayOnBottom back to .F., and .AlwaysOnTop. back to .T. - or whatever.
I goof with these quite often when, say, a modal form calls print preview, the preview would be behind the form (sometimes I disappear the form - depends on context).
Then there's the .Zorder() method to consider?
HTH
Terry
>Hi Terry,
>I hadn't considered anything like that. But wouldn't that keep the form on the bottom even when the user clicked on the taskbar button? How would I bring it on top when the user clicked on the taskbar button?
>
>I'm going to play with it, but if you have any other info on how it works, please let me know.
>
>>Doesn't Thisform.AlwaysOnBottom = .T. work?
>>
>>>My exe is running a top level form in the backgound on my screen. It launches another top level form and both forms come to the foreground on my screen. I'd like them to stay in the backgound until I click on the form's button on my taskbar.
>>>
>>>TIA
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.