Hi, sending and subscribing to messages works similar to dispatching and listening for events. So if you have a button mybutton, you write
qx.event.message.Bus.subscribe("activation-message",function(message){ this.setEnabled(message.getData()); }, mybutton); and within the field that should activate the button, you write, for example myfield.addEventListener("focus",function(){ qx.event.message.Bus.dispatch(new qx.event.message.Message("activation-message", true)) }); I will write a tutorial on messagens soon. Christian johnl wrote: > How do I send a message to an object? I have a DateChooserButton I want > to activate when clicking on a field (for the convenience of a user). > > Thanks. > > David > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-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/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel