Hi Christoph, Sorry for the delay in reply. Investigating this issue took some time.
>1) Is there a way to manipulate the background color of a >non-editable ULCTextComponent ? In ULC 6.0.4 setBackground on non-editable ULCTextField does not work because it enforces background color of a non-editable textfield to be the same as the background color of the textfield's container. This behavior is un-Swing like. Swing allows setting of background color on non-editable textfield. In ULC 6.1, setting of Background on non-editable textfield has been aligned to Swing. The issue https://www.canoo.com/jira/browse/UBA-6932 is not listed in the release note for ULC 6.1. However, if you need this behavior in 6.0.4 then you will have to extend ULCTextField/UITextField and override handling of setBackground request in the client side proxy (extension of UITextField). >2) How can the default background color of a noneditable ULCTextComponent be >determined (on the serverside) ? Use: ClientContext.getColor("TextField.background") I hope this helps. Thanks and regards, Janak >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Christoph >Bucher >Sent: Wednesday, May 24, 2006 6:52 PM >To: [EMAIL PROTECTED] >Subject: [ULC-developer] Display-Only Fields and Background Color > > >Hi, > >as the enclosed code snippet shows, the background of a >non-editable ULCTextComponent >cannot be visually changed by setBackground(Color col). > >So my questions: > >1) Is there a way to manipulate the background color of a >non-editable ULCTextComponent ? > >2) How can the default background color of a noneditable >ULCTextComponent be >determined (on the serverside) ? > > >Thanks a lot >-- Christoph > > _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
