Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable a Toolbar
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00826377
Message ID:
00826724
Views:
26
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
Previous
Reply
Map
View

Click here to load this message in the networking platform