ISRadioButton.Align

Description

This property defines how the specified radio button is aligned on the form. It is not accessible in the Object Inspector.

Syntax

object.Align

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

Return Value

TSAlign

Example

Display some information about the specified radio button, including its align.

Dim aControl
Dim aControlInfo

Set aControl = Form.Controls_("rbCaseOne")
aControlInfo =_
  "Caption: " & aControl.Caption & vbNewLine &_
  "TypeName: " & aControl.TypeName & vbNewLine &_   
  "Align: " & aControl.Align
    
Profile.MsgBox(aControlInfo)  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0