Proposed changes to the combo_box widget
Michael Flanagan <[email protected]>
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Couple thoughts on the combo box widget. I'd like to modify addOption so that you don't need to pass a group. If you don't pass a value for the group, I want the default group to be 'default'. Likewise, for the is_enabled param, if you don't pass it I think the default value should be 'true' so that if you add an option to a group that doesn't exist, it will automatically show up in the combo_box. It would be handled somthing along the lines of: if(arguments.length<4) is_enabled = true; where the 4th arg is the is_enabled param. Also, I would like to modify the addOptions() method so that it doesn't set this.groupDataAtt[group].enabled value, but lets that get handled by the call to addOption(). Thoughts? - --Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/OnPtFEAqzmmooIMRAjcqAJ9Tb6xuq77xmT/eUsVxfHKtlnfY2wCfdzpu EwavBXcGuZbYageLR8LpTmU= =NnBh -----END PGP SIGNATURE----- _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org