Table Header Format (OpenInsight 32-Bit)
At 07 OCT 2005 03:55:05PM John Bouley wrote:
Does anyone know how to get column headers from an Addtable to print with white letters on a black background? I am able to change the background but the foreground font is table wide. If it is not possible in Addtable can this be done using some other OIPI function? Perhaps textbox?
Thanks,
John
At 07 OCT 2005 05:19PM [email protected]'s Frank Tomeo wrote:
John,
I actually went over this at the last conference in Las Vegas. This is the quick way to get this done by using only Font and AddTable:
Black =1
Normal =Tahoma":@FM:20
Reverse=Tahoma":@FM:20:@FM:@FM:@FM:@FM:@FM:@FM:White$
rv=Set_Printer("FONT", Reverse)
rv=Set_Printer("ADDTABLE", "
This will give you something like this:
What you've basically done is append two tables together - with different fonts for each one. You can also do the same thing using black rectangles (RECT and FILLSTYLE) and white text.
At 07 OCT 2005 05:56PM Kauko Laurinolli wrote:
This will do it. To get again black text in the actual report you have set font to black with Font=0.
$Insert Colors
Font =Arial'
Font=8 ;* Fontsize
Font=0 ;* Normal
Font=16777215 ;* White
x=Set_Printer('FONT',font,fontSpacing)
x=Set_Printer('ADDTABLE',colFmt,colHeader,'',Black$,White$,0,TB_ALL)
At 11 OCT 2005 09:42AM John Bouley wrote:
Thank you Frank and Kauko. Thats exactly what I needed.
Regards,
John