ISProfileForm.Align

Description

This property defines how the form is aligned on the Profile workspace.

Syntax

object.Align

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

Return Value

TSAlign

Example

Display some information about the form, including its align.

Dim aForm
Dim aMessage

Set aForm = Profile.Form

aMessage = "Form Info: " & vbNewLine & vbNewLine &_
  "- Caption: " & aForm.Caption & vbNewLine &_
  "- ID: " & aForm.ID & vbNewLine &_
  "- Name: " & aForm.Name_ & vbNewLine &_
  "- TypeName: " & aForm.TypeName & vbNewLine &_   
  "- Align: " & aForm.Align
         
Profile.MsgBox(aMessage)  
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