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