ISComboBox.Align

Description

This property defines how the specified combo box 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 ISComboBox interface

Return Value

TSAlign

Example

Display some information about the specified combo box, including its align.

Dim aComboBox
Dim aComboBoxInfo

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

Version information

Added in v7.8.0