On Feb 15, 2008, at 8:46 PM, Ed Leafe wrote:
>> The question is,
>> is there a way to enter None from the Keys Editor?
>
>
> I don't know; I've never tried it.
>
> I'm sure it is a matter of properly parsing the XML, but I'l have to
> dig a bit.
Hmm... it doesn't appear to be that simple. Apparently the
wx.gizmos.EditableListBox, which is the basis for the Dabo
dEditableListBox used in the Keys editor, only works with string
values. It isn't None that's the problem; try entering the integer 33,
and you get u'33' in the property.
I don't know of a quick solution. I have confirmed that if you edit
the .cdxml file manually, the values are preserved upon saving the
design, and are the correct type when the design is run. However, if
you try to edit them in the Class Designer, you will get errors, as
the control can only handle lists of strings.
-- Ed Leafe
_______________________________________________
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]