Ed Leafe wrote:
> On Feb 26, 2008, at 12:20 PM, Paul McNett wrote:
>
>> I haven't caught up yet with this thread, but I solved similar
>> issues in
>> the report designer by eval()ing the property values. So, even though
>> the following are all strings as far as wx is concerned:
>>
>> None
>> "Paul"
>> 33
>>
>> After they are eval()'d, they persist as the proper types.
>
> Let's say that I have several phone numbers that I want to put in the
> list:
>
> 201-555-1234
> 816-555-4567
> 585-555-9922
>
> What do you think eval'ing them would do?
Eval'ing them would make them strings when they are strings, ints when
they are ints:
eval("'201-555-1234'") -> "201-555-1234"
eval("201-555-1234") -> -1588
eval("23.5") -> 23.5
eval("'33'") -> "33"
eval("None") -> None
eval("'None'") -> "None"
> I think we need a better solution than dEditableListBox.
Perhaps.
Paul
_______________________________________________
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/dabo-users/[EMAIL PROTECTED]