On 01/09/10 22:26, Jacek Kałucki wrote:
> Użytkownik Sim Zacks napisał:
>
>> I'm having a problem with dComboBox. I am writing a database app where
>> the items in the drop down list are a suggestion, but the user can also
>> type in whatever he wants.
>> I have given a Choices list but not a Keys list and set the ValueMode to
>> be String.
>> When the value in the database is not in the Choices list, it gives me
>> the "String must be present in the choices." error.
>>
>> I looked through the code here and I can't seem to figure out a way to
>> show me and/or save the values that I type in but aren't in the list. In
>> the StringValue property of dControlitemMixin.py it states: "An
>> exception is raised if there is no position with matching text." which
>> seems to be the exact feature i am looking for.
>>
>> Have I missed something?
>>
>>
>>
> Hi,
> Does setting AppendOnEnter property to True help?
>
>
Nope.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]