Ticket #1208 (new defect)

Opened 3 years ago

DynamicBackColor for dTextBox not working

Reported by: uwe_grauer Assigned to: somebody
Priority: major Milestone: 0.9.2
Component: ui Version: 0.9.1
Keywords: Cc:

Description

I noticed that setting the DynamicBackColor? for dTextBox isn't working any more. I'm using this for a long time for ReadOnly? dTextBox to have the same background color as the underlying form.

For testing you can use dTextBox in DaboDemo?.py

Change line 16 to:

txt = dabo.ui.dTextBox(self, Name=_("PlainTextBox"),
                       DynamicBackColor=lambda:txt.Form.BackColor,
                       Value=_("Test it out and see"))

My versions:

Platform: GTK
Python Version: 2.5.2 on linux2
Dabo Version: Version 0.9.1; Revision 5085
UI Version: 2.8.9.1 on wxGTK (gtk2)