Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbars and Top Level Forms
Message
 
À
05/08/2000 11:52:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00401526
Message ID:
00401564
Vues:
18
Dennis did you try your code? That's what I had but I get the toolbar 'behind' the top level form. When you click the toolbar it minimizes the form. Also _Screen.ActiveForm in code in the toolbar returns an error trying to access the form. Thanks

>>Will toolbars not work with top level forms? If not, why? Or am I doing something wrong? Thanks
>
>Hi.
>Toolbar is successfully works with toplevel form.
>Create toolbar class 'clsToolbar'
>Create custom form
>add to form custom oToolbar property
>In form Activate event write code
>
>IF type('THIS.oToolbar')!='O' OR ISNULL(THIS.oToolbar)
> THIS.oToolbar = CREATEOBJECT('clsToolbar')
> THIS.oToolbar.Visible = .t.
>ENDIF
>
>Denis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform