The vertical offset of the specified label control from the top left corner of the form.
object.Top
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLabel interface |
int
Display some information about the specified label control, including its vertical offset from the top left corner of the form.
Dim aLabel
Dim aLabelInfo
Set aLabel = Form.Controls_("Label1")
aLabelInfo =_
"ShortName: " & aLabel.ShortName & vbNewLine &_
"Caption: " & aLabel.Caption & vbNewLine &_
"Type Name " & aLabel.TypeName & vbNewLine &_
"Top: " & aLabel.Top & vbNewLine &_
"Left: " & aLabel.Left & vbNewLine &_
"Height: " & aLabel.Height & vbNewLine &_
"Width: " & aLabel.Width
Profile.MsgBox(aLabelInfo)
In Profile Client v8 on User Interface Top can be found in
.