ISBevel.Align

Description

This property defines how the specified bevel is aligned on the form.

Syntax

object.Align

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

Return Value

TSAlign

Example

Display some information about the specified bevel, including its align.

Dim aBevel
Dim aBevelInfo

Set aBevel = Form.Controls_("Bevel2")

aBevelInfo =_
  "Caption: " & aBevel.Caption & vbNewLine &_
  "ShortName: " & aBevel.ShortName & vbNewLine &_
  "TypeName: " & aBevel.TypeName & vbNewLine &_
  "Width: " & aBevel.Width & vbNewLine &_
  "Height: " & aBevel.Height & vbNewLine &_
  "Left: " & aBevel.Left & vbNewLine &_
  "Top: " & aBevel.Top & vbNewLine &_
  "Style: " & aBevel.Style & vbNewLine &_
  "Align: " & aBevel.Align & vbNewLine                                              
  
Profile.MsgBox(aBevelInfo) 
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Align cannot be found.

Version information

Added in v7.8.0