From: Sean H. <jal...@ho...> - 2008-07-17 20:53:42
|
> How do I compute the size (amount of screen real-estate) that a given > chunk of text will be, in a given font? > > The reason I ask is that I am trying to change the text of a label, and > using the Text or Change methods do not resize the control; the control > stays at its original size and truncates any new text. (This behavior is > very annoying!). ($x, $y) = $Label->GetTextExtentPoint32($string); |