I'm trying to build a layer control dialog with a
list of layers and checkboxs for display. Couldn't see how the normal layer
control dialog manages to put checkboxes in the listbox so decided to place one
checkbox at the bottom of the dialog, the listbox would then contain strings
constructed from a layer's name and whether it is visible or not;
ie. something like this: content = layername + " "
+ visible_boolean
user then highlights the listbox entry and the
checkbox displays whether the layer is visible or not. But how do i get the
checkbox to listen to the listbox, and in return how do i get the listbox to
listen to the checkbox - in an object-oriented way? I'm very much use to Avenue
which has a nice system of setting up listeners and broadcasters.
regards,
andrew bailey
