Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No title bar in a top level form
Message
 
 
To
30/05/2003 14:04:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00794665
Message ID:
00794809
Views:
10
It looks like a bug. See if code in Re: Setting NoTitle in a top level form Message #687345 can help you to work around this problem.

>Hey all,
>Has anyone created a top level form WITHOUT a title bar? What I'm doing is this...
>
>oForm = NEWOBJECT('myFormClass','myFormClassLib')
>
>*** Form Properties
>    .BorderStyle = 2   &&Fixed Dialog
>    .Caption = ''
>    .Closeable = .F.
>    .ControlBox = .F.
>    .MaxButton = .F.
>    .MinButton = .F.
>    .Moveable = .F.
>    .ShowWindow = 2   && As top level form
>    .TitleBar = 0     && Off
>
>oForm.Show()    && Displays form WITH a title bar
>If you create a new form (.scx) with the above properties and issue DO FORM myForm, wahlla...NO title bar.
>
>Am I doing someting wrong?
>
>TIA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform