Re: ComboBox behaviour in win32Lib

new topic     » goto parent     » topic index » view thread      » older message » newer message
Mike777 said...
DerekParnell said...
Mike777 said...

2) Other than inserting an OnChange event which compare s what has been typed into the ComboBox to the item values and rejects any keys which result in a non-match, is there a simpler way to do what us old Access programmers call "Limit to List"?

Does the DropDownList control suit?

The newUIObj docs specify that the control is built with the CBS_DROPDOWN attribute. Further, they say: In addition to being able to select a value from the combo's list, the user can enter their own value as well.

I'm trying to eliminate the ability of the user to enter their own value.

OK, never mind. There is a separate control type, in addition to Combo, called DropDownList. Got it.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu