Hi Alan,
> New parameter has to go before "number of controls"
> because latter is probably quite infrequently used, therefore
> perhaps most likely to be omitted.
I can understand that, but it's not downward-compatible. So everbody
using the dialog-plugin with more than the default number of
controls will have problems.
> Or (just thinking out loud): yet another handle type: a group
> myGroup = dlgHan.make_group("name1", "name2",....)
> or
> myGroup = dlgHan.make_group("name1 name2...")
Than i would have to define the dialog with it's controls and again
somewhere the groups. If i add one control to the dialog, i would
have to remember to add this control to the right group somewhere in
the script.
It would be better to specify the groups with the defintion of the
control. For me the control-name would already be ok. But a new
parameter "control-group" would also be nice.
This new service should return all controls filtered by control-name
(with patterns ?) and/or control-type - something like:
----------------------------------------------------------------
dialog control control
handle name types
----------------------------------------------------------------
l_cgroup_01 = dlghan.get_controls("*inp*" , "button")
l_cgroup_all = dlghan.get_controls("" , "")
l_cgroup_02 = dlghan.get_controls("" , "static")
l_cgroup_03 = dlghan.get_controls("Test*" , "checkbox listbox")
Best regards Detlef