I don't know if this is a bug or just the wrong use, but...

 

dCheckBox(self, DataSource=self.PreferenceManager, DataField="check")

This creates the field "check" if it doesn't exist and stores the
checkbox as a bool value. All good...

 

 

dTextBox(self, DataSource=self.PreferenceManager, DataField="field")

I would have guessed that this would create the key "field" with a blank
string value, but it doesn't. It creates a dPref key with this name, and
gives the textbox this instead of the value.

 

BAD TYPE <class 'dabo.dPref.dPref'>

Dabo Error Log: Mon Jan 07 12:38:05 2008: Could not bind to
'<dabo.dPref.dPref object at 0x02EE94D0>._reshs011_outDirectory'

Reason: 'dPref' object is not callable

 

If I manually create the fields for the textboxes in advance everything
works as expected.

 

 

Platform: Win

Python Version: 2.4.4 on win32

Dabo Version: Version 0.8.2; Revision ~3767

UI Version: 2.8.6.1 on wxMSW

 



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
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]

Reply via email to