AutoSize
This property determines whether controls stretch to fit their contents.
Usage |
oObject.AutoSize = lFitSizeToContents lFitSizeToContents = oObject.AutoSize |
Example |
* Normally, you'll set this property at design-time, but * here's the runtime equivalent. ThisForm.opgChoices.AutoSize = .T. ThisForm.opgChoices.optChoice1.AutoSize = .T. ThisForm.opgChoices.optChoice1.Caption = "Boy, is this long" |
See Also |