Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Control Font with Code

In a text box, can I control the font of each individual word with code?  For instance, in the below snippet, I would like the highlighted text to be bold and italic, while the rest remains the default font.  I would think it's much like VBA and that there are functions for such things in QV code, no?

= 'Current Selections:'
&
if (GetFieldSelections(TypeDescription)<> Null, chr(13) & 'Classification: '  & GetFieldSelections(TypeDescription))
& if (GetFieldSelections(Sector)<> Null, chr(13) & 'Sector: '  & GetFieldSelections(Sector))
& if (GetFieldSelections(IndustryGroup)<> Null, chr(13) & 'Industry Group: '  & GetFieldSelections(IndustryGroup))
& if (GetFieldSelections(Industry)<> Null,  chr(13) & 'Industry: '  & GetFieldSelections(Industry))

Labels (1)
1 Reply
rajeshvaswani77
Specialist III
Specialist III

No such option available to do this. Multiple text boxes should be used.

thanks,

Rajesh Vaswani