Thanks for the reference but i think what i need is to know how to "invoke" a control programatically.<br><br>Any ideas on that?<br><br><div class="gmail_quote">On Tue, Apr 6, 2010 at 12:22 PM, <span dir="ltr"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">Hi,<br>
<br>
if you look at GeoExt actions you can see a way to do this (i.e. the<br>
concept could be usable):<br>
<br>
<a href="http://svn.geoext.org/core/trunk/geoext/lib/GeoExt/widgets/Action.js" target="_blank">http://svn.geoext.org/core/trunk/geoext/lib/GeoExt/widgets/Action.js</a><br>
<br>
Best regards,<br>
Bart<br>
<br>
</div><div><div></div><div class="h5">> Hi,<br>
> i'm working on a DojoToolkit project and i would like to have the controls<br>
> (like draw point, draw polyigon, etc) in a dojo-button.<br>
> is there an "easy" way to achieve that?<br>
><br>
> Also i was looking for a way to "start an action programatically, that is,<br>
> somebody clicks my button and programtically i start the draw point<br>
> action.<br>
><br>
> Thanks in advance for any ideas.<br>
><br>
> --<br>
> |-----------------------------------------------------------<br>
> | <a href="http://www.astracanada.net" target="_blank">http://www.astracanada.net</a><br>
> | <a href="http://acuriousanimal.orggeo.net" target="_blank">http://acuriousanimal.orggeo.net</a><br>
> |-----------------------------------------------------------<br>
> | <a href="http://acuriousanimal.blogspot.com" target="_blank">http://acuriousanimal.blogspot.com</a><br>
> | <a href="http://theballoonproject.blogspot.com" target="_blank">http://theballoonproject.blogspot.com</a><br>
> |-----------------------------------------------------------<br>
> | _ __<br>
> | /_| ( _ _/'_ _<br>
> |( |. __)(//)//(/(/()<br>
> | _/<br>
> |-----------------------------------------------------------<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>|-----------------------------------------------------------<br>| <a href="http://www.astracanada.net">http://www.astracanada.net</a><br>| <a href="http://acuriousanimal.orggeo.net">http://acuriousanimal.orggeo.net</a><br>
|-----------------------------------------------------------<br>| <a href="http://acuriousanimal.blogspot.com">http://acuriousanimal.blogspot.com</a><br>| <a href="http://theballoonproject.blogspot.com">http://theballoonproject.blogspot.com</a><br>
|-----------------------------------------------------------<br>| _ __ <br>| /_| ( _ _/'_ _ <br>|( |. __)(//)//(/(/() <br>| _/ <br>|-----------------------------------------------------------<br>