You can can also hide the button by change the widget code adding these lines:
this.postPaint = function(objRef) {
// put something here
document.getElementById(objRef.outputNodeId).style.visibility = "hidden";
}
or
this.postPaint = function(objRef) {
document.getElementById(objRef.outputNodeId).style.display = "none";
}
Hope this helps.
On 6/19/07, Cameron Shorter <[EMAIL PROTECTED]> wrote:
> Look in the config.xml file.
> Search for the buttons you don't want.
> Comment them out. This will remove buttons and functionality.
>
> If you just want to remove the buttons without removing the
> functionality, then you might want to replace the button's image with a
> single dot. Again, you can do this in the config file.
>
>
> César wrote:
> > Hi developers,
> >
> > Does anybody know how can I conceal some buttons of the toolbar?
> >
> > Thanks
> > ------------------------------------------------------------------------
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > mapbuilder-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
> >
>
>
> --
> Cameron Shorter
> Systems Architect, http://lisasoft.com.au
> Tel: +61 (0)2 8570 5050
> Mob: +61 (0)419 142 254
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> mapbuilder-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel