Check out Bill's reply for another solution. The KB article suggests setting .Desktop = .T. Works as well.
>That's a bug. Leave the TitleBar to default in the class designer and in the Init() of your class specify this.TitleBar = 0
>
>>I created a form with the following properties set:
>>
>>.AllwaysOnTop=.T.
>>.ShowWindow=2 - As Top-Level-Form
>>.TitleBar=0 - Off
>>
>>When I run the form it works fine. I then saved the form as a class, but when I instantiate an instance of the class the Titlebar is On. Am I missing something?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.