You are here: Symbol Reference > JSLabel Namespace > Classes > TJSCustomLabel Class > TJSCustomLabel Methods > TJSCustomLabel.AdjustBounds Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCustomLabel.AdjustBounds Method

Resizes the label when the text changes.

Pascal
procedure AdjustBounds; dynamic;

When the text in the label or the font changes, AdjustBounds is implicitly called. It redraws the text in the client area, and then resizes the label if the AutoSize property is true. 

 

Override AdjustBounds to make additional adjustments when the text changes.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!