Page 1 of 1

Combobox validation

Posted: Wed Jun 13, 2012 3:36 am
by Ton_B
I've created a specific Dialog.

On this dialog there is a combobox.
Users can begin typing inside te combobox, and, even type a value that's not in the list.
I'm wondering how I can prevent this from happening.

I want the user to be able to only select one of the available options.

How can I do this?

Re: Combobox validation

Posted: Wed Jun 13, 2012 5:26 am
by FrancescoT
Dear Ton,

please set "csDropDownList" as style property for the ComboBox in dialog editor.

Regards

Re: Combobox validation

Posted: Wed Jun 13, 2012 6:06 am
by Ton_B
Fantastic, works like a charm :D

Is there by any change a manual or help available for using the User Interface Editor?
I could not find any help regarding to the available controls and its properties.

Thanx.

Ton

Re: Combobox validation

Posted: Wed Jun 13, 2012 8:21 am
by FrancescoT
:D :D

Re: Combobox validation

Posted: Thu Jun 14, 2012 12:55 am
by Ton_B
Hello Fransesco,

I'm glad that you're happy :
:D :D
But, do you have an answer on this question ?:
Is there by any change a manual or help available for using the User Interface Editor?
I could not find any help regarding to the available controls and its properties.

Re: Combobox validation

Posted: Thu Jun 14, 2012 7:33 am
by FrancescoT
Dear Ton,

... ops, I really missed your question!

Unfortunately it is not available a documentation from IA about Dialog controls and properties.
If you want for these you can refer to Delphi/C++ Builder controls and properties documentation and eventually to MSDN documentation.

Actually is available "Dialog Editor" topic in IA help documetation.

Regards