Hi,
I am new to VSFlexgrid component, and I need some help about changing the font style to italic. But , the code which I have written makes the whole text to bold and italic . I need to make first half (before ":" ) to bold and the rest to italic .
here's the part of JavaScript Code :
Here "VSFBannerL ist" is id of ActiveX control (.ocx).
These rows are added inside while loop (dyanamic rows).
Regards,
"D"
I am new to VSFlexgrid component, and I need some help about changing the font style to italic. But , the code which I have written makes the whole text to bold and italic . I need to make first half (before ":" ) to bold and the rest to italic .
here's the part of JavaScript Code :
Code:
Bann = "Banner Name"
frm.VSFBannerList.AddItem((objRstListVSFG.Fields("ScreName").Value) +" : "+ Bann);
//Set Styles to Cell Text
frm.VSFBannerList.Col = 0
frm.VSFBannerList.Row = frm.VSFBannerList.Rows-1
frm.VSFBannerList.CellFontBold = true;
frm.VSFBannerList.CellFontItalic = true;
//End Styles
These rows are added inside while loop (dyanamic rows).
Regards,
"D"
Comment