Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable a Toolbar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00826377
Message ID:
00826724
Vues:
25
Hi Martin, thanks for your reply.

>>>>MyToolBar.SetAll("Enabled", .f.)

I dont follow... does MyToolBar not need to be rferenced from somewhere...
.. the Toolbar is a floating toolbar and not paert of the form
Regards,

Gerard



>Hi Gerard,
>
>
>  If Myform is modal
>     MyToolBar.SetAll("Enabled", .f.)
>  Endif
>
>
>MartinJ
>
>>I've just noticed that Modal Screens are not causing ToolBars to be disabled, even though it seems to disable everything else.
>>
>>Is there a way of doing this , say from the init of the screen:
>>
>>Init:
>> If Myform is modal
>> MyToolBar.Enabled = .f.
>> Endif
>>
>>I;m not just sure what syntax to use for MyToolbar, as it is floating.
>>I obviously cannot say Thisform.MyToolbar !!!!
>>
>>Any hel appreciated
>>
>>regards,
>>
>>Gerard
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform