determining control width by content of the control

G

gabor123

Hi,
I create a report controls from VBA code with the CreateReportControl
function. I would like to use a width which is appropriate for a given font
and fontsize, and a content. I don't want to change the font nor font size,
but the content is from a table so it's lenght are variing.

Thank you for your help, Gábor
 
Top