Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

Font size

edited March 2007 in RAP
Hi!

Is there a better way to set the font size then using a series of if
statements (like in post "Font vs. font.size" posted by Mr. Beck) ? I was
thinking o using a while loop like so:

while label1.width > maxlength do
label1.font.size := label1.font.size - 1;


I hoped that when I decrease the font size the width of the label would be
recalculated, but it seems this is not the case.

Comments

This discussion has been closed.