OpenDCL > Studio/Dialog Editor

Combo box styles

(1/2) > >>

Jim Short:
How do I keep the text displayed in the edit box from being edited by the user?
What are the differences between styles 0, 1, and 2?
Is there a restriction on when this property can be changed?

Thanks,
Jim

owenwengerd:
Right-click on a combo box in the editor and select Properties, then check out the "Combo Box Styles" tab. This should help answer your question.

Jim Short:
Thanks Owen, that works.

But does the following also work?
(dcl_Control_SetComboBoxStyle Onset_Outline_cbTabMachine NewValue [as Integer])

Fred Tomke:
Hm, that does not work for me in a palette. But I'm not sure if it is a design time property...
Fred

owenwengerd:

--- Quote from: Jim Short on June 18, 2009, 05:39:20 AM ---But does the following also work?
(dcl_Control_SetComboBoxStyle Onset_Outline_cbTabMachine NewValue [as Integer])

--- End quote ---

No, the combo type cannot currently be changed at runtime.  Runtime changes should be possible in the future, but it has to be done by destroying the old combo and creating a new one in its place.

Navigation

[0] Message Index

[#] Next page

Go to full version