Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing Toolbars programmatically in development mode
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00155523
Message ID:
00155558
Vues:
20
Thanks Bob.

Just the ticket.

Michel.

================== Your original message follows =====================
>>Hi all,
>>
>>Visual FoxPro 5.
>>
>>Is there a way to programmatically remove the VFP toolbars when
>>running a program in development mode ?
>>
>>Although my forms have a SET SYSMENU OFF, if I run them from the
>>Command Window I have to first remove the toolbars by right-clicking
>>on the Toolbars area and deselecting all the VFP toolbars.
>>
>>Is there a way to accomplish this in code, as well as restoring
>>them in the Release Event of my forms ?
>>
>>Thanks.
>>Michel.
>
>I believe you just manipulate them like windows...
>
>Hide Window Standard
>activate window standard
>
>You can set up a logical for each toolbar to see if it exists. If it does hide it. Then, in your shutdown, you can check your logicals and activate the toolbars.
>
>if WVISIBLE('Standard')
> lToolStandard = .t.
> hide window standard
>endif
>
>
>Then in clean up...
>
>if lToolStandard
> activate window standard
>endif
>
>BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform