2014-11-17 07:47 UTC
I'm sure there is an existing, obvious function in OpenDCL, but at the moment I'm blind to see it ...
- I have a ComboBox with some entries: (list "Jim" "John "Sue "Anne")
- Somewhere in Lisp there is: (setq myvalue "Sue")
-> How to use "dcl_ComboBox_SetCurSel" with "Sue"?
I use "vl-position", but I'm sure there is a better way:
(dcl_ComboBox_SetCurSel haupt_cbxModus (vl-position selMode (dcl_Control_GetList haupt_cbxModus)))
Have a fine week!
- I have a ComboBox with some entries: (list "Jim" "John "Sue "Anne")
- Somewhere in Lisp there is: (setq myvalue "Sue")
-> How to use "dcl_ComboBox_SetCurSel" with "Sue"?
I use "vl-position", but I'm sure there is a better way:
(dcl_ComboBox_SetCurSel haupt_cbxModus (vl-position selMode (dcl_Control_GetList haupt_cbxModus)))
Have a fine week!