Report, TextBox Bold or not on Runtime

Hi, I’m writing a Report, an want to Print one TextBox Bold or not, depending on some Boolean value. Is there another way of doing this, than with two Sections, that get selected with CurrReport.SHOWOUTPUT(Var)[?] Daniel

No

Isn’t possible. You can name a label on the request form. The properties you can modify trough code (use F5, RequestOptionsForm, Controls, “NameLabel”, Properties) are XPOS, YPOS, WIDTH, HEIGHT, VISIBLE. No FONTBOLD unfortunatly.

Put two controls on top of each other; one bold the other not. They should have different source expressions and in your code set the appropriate source expression to the value you want to display and the other to blank.

Thanks for the tip Jack, this can work for everything also, fonts, italics etc.! Super[:D]

quote:

Isn’t possible. You can name a label on the request form. The properties you can modify trough code (use F5, RequestOptionsForm, Controls, “NameLabel”, Properties) are XPOS, YPOS, WIDTH, HEIGHT, VISIBLE. No FONTBOLD unfortunatly.
Originally posted by tinoruijs - 2005 Sep 22 : 11:14:29

VISIBLE? You sure? Since when? Anna