Note that Mapbuilder uses a Model/View/Controller design pattern. http://docs.codehaus.org/display/MAP/Enterprise+Viewpoint#EnterpriseViewpoint-MVCDesign
You will need to create a button. See: http://docs.codehaus.org/display/MAP/Add+Button+Tutorial In the doSelect() function, call: this.model.setParam("tip",1); This will trigger a "tip" event from the model to all the widgets that belong to the model. http://docs.codehaus.org/display/MAP/Add+Widget+Tutorial Create a widget, or extend a widget to receive the "tip" event you created above. Toan Nguyen wrote: > Hi all, > I want to allow user can turn on/off TipWidgetOL on Map by click on a > buttion. How I can do it? > > Thanks. > > -- > Nguyễn Đình Toán > > ------------------------- > Neu khong doc duoc tieng Viet, vui long vao menu View --> chon > Encoding --> chon Unicode (UTF-8). Cam on. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Mapbuilder-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > -- Cameron Shorter Geospatial Systems Architect Tel: +61 (0)2 8570 5050 Mob: +61 (0)419 142 254 Think Globally, Fix Locally Commercial Support for Geospatial Open Source Solutions http://www.lisasoft.com/LISAsoft/SupportedProducts.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
