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