thx,
but i need it runtime.
meanwhile i've found the solution:
the enablecommand method is ok 
(you can get the command object parameter from the viewerapi.commands array
by its name 
-which is defined in the studio),
and then you only have to reload the tbFrame content.
thanks 


sathishpsk9 wrote:
> 
> you can also do the same through mapguide maestro... while creating a
> layout  you enable or diasable features you want ......... or you can also
> do it programatically.........once have a weblayout with you..
> 
> weblayout.ToolBar = false ;
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Enable-Disable-toolbar-buttons--tp3080034p3080614.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to