Copyright © 1998-2010 MultiMedia Soft

CaptionWordWrapPerc property

Previous pageReturn to chapter overviewNext page

Type

short for Visual C++

integer for Visual Basic

 

 

Syntax

object.CaptionWordWrapPerc [=integer]

 

 

Remarks

If the caption text string is too long to fit on a single line in the button rectangle, the control wraps the text to multiple lines automatically: this property determines the surface percentage that will contain the text.

It's value can range from 10 to 100: by default the surface percentage is 90%.

For further details about texts management, see the How to add text to the button section.