2009-06-25 07:26 UTC
have you used the dos_proplist function? i've been using it for years to get simple user input. see pic below.
but i hope the input can be something other than text string, i.e., listbox, combobox, checklist,etc. and the syntax of the function would be something like
(dcl_proplist title prompt lists) where each list contains, say 4 members:
1. rowHeader (str)
2. ctrlType (int)
3. values ("" or nil for TextBox)
4. default (default value for the control)
for the argument ctrlType, maybe the valid numbers can be:
0 - TextBox
1 - ListBox
2 - ComboBox
3 - CheckBox
4 - CheckList
would it be a lot of work to implement it as a standard function for OpenDCL? anyone else thinks this will be useful? if not, i'll tackle this myself. i guess need to start with using a grid?
thanks.
but i hope the input can be something other than text string, i.e., listbox, combobox, checklist,etc. and the syntax of the function would be something like
(dcl_proplist title prompt lists) where each list contains, say 4 members:
1. rowHeader (str)
2. ctrlType (int)
3. values ("" or nil for TextBox)
4. default (default value for the control)
for the argument ctrlType, maybe the valid numbers can be:
0 - TextBox
1 - ListBox
2 - ComboBox
3 - CheckBox
4 - CheckList
would it be a lot of work to implement it as a standard function for OpenDCL? anyone else thinks this will be useful? if not, i'll tackle this myself. i guess need to start with using a grid?
thanks.

