Paul McNett wrote: > Uwe Grauer wrote: > >> Ed Leafe wrote: >>> On Jan 31, 2008, at 4:39 AM, Uwe Grauer wrote: >>> >>>> What is the best method to set the backgroundcolor of a dTextBox >>>> to the Backgroundcolor of the dForm? >>>> >>>> I want to use the same color for a dTextbox because it should look >>>> like >>>> a dLabel. >>> textbox.DynamicBackColor = lambda: textbox.Form.BackColor >>> >>> Be aware that BackColor for textboxes is not supported on all >>> platforms. >> I guess i have to do this in the afterInit of the dTextbox? > > You can do it wherever you want: > ...
Now i realize what Dynamic stands for. And this is hard to find, if you won't know what to search for: http://wiki.dabodev.com/DaboUiSetAfter
This is one of the concepts which should be better documented.
Uwe
©2008 Uwe Grauer |