Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No title bar in a top level form
Message
 
 
À
30/05/2003 14:04:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00794665
Message ID:
00794809
Vues:
9
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform