ISRadioButton.AutoSize

Description

This property is True if the width of the specified radio button should be calculated automatically. It is not accessible in the Object Inspector.

Syntax

object.AutoSize

Part Attribute Type Description
object Required
The object always implements the ISRadioButton interface

Return Value

bool

Example

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)  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0