cancel
Showing results for 
Search instead for 
Did you mean: 

Text Colour and controls

Former Member
0 Kudos

hi

how to change the colour of text, font and other details view when we create controls dynmically

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I think you are mentioning the text view

if you create textview dynamically and you want to set color and font property use the follwoing steps

IWDTextView <Name>=(IWDTextView)view.createElement(IWDTextView.class, "<Name>");

<Name>.setText("Name");

<Name>.setDesign (WDTextViewDesign.HEADER2);<Name>.setSemanticColor(WDTextViewSemanticColor.DIMINISHED);

Answers (0)