This property is True if the width of the specified radio button should be calculated automatically. It is not accessible in the Object Inspector.
object.AutoSize
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRadioButton interface |
bool
Display AutoSize for the specified radio button.
Dim aControl
Dim aControlInfo
Set aControl = Form.Controls_("rbCaseOne")
aControlInfo =_
"Caption: " & aControl.Caption & vbNewLine &_
"TypeName: " & aControl.TypeName & vbNewLine &_
"Width: " & aControl.Width & vbNewLine &_
"Auto Size: " & aControl.AutoSize
Profile.MsgBox(aControlInfo)