I want to be able to change its style after creation (In some cases this
list is editable and in some cases its not - the user can overwrite this
setting manualy by clicking checkbox)
I tried:
self.optionCtrl.SetEditable(True)
But it gives:
AttributeError: 'ComboCtrl' object has no attribute 'SetEditable'
I didnt find anything helpful in the documentation.
I want to be able to change its style after creation (In some cases this
list is editable and in some cases its not - the user can overwrite this
setting manualy by clicking checkbox)
I tried:
self.optionCtrl.SetEditable(True)
But it gives:
AttributeError: 'ComboCtrl' object has no attribute 'SetEditable'
The combo control has two distinct parts: the dropdown menu, and the
edit control. You can access the two parts separately. I suspect that
self.optionCtrl.GetTextCtrl().SetEditable(True)
will do what you want.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.