ISCheckBox.Left

Description

The offset of the specified checkbox from the top left corner of the form.

Syntax

object.Left

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

Return Value

int

Example

Display some information about the specified checkbox, including its offset from the top left corner of the form.

Dim aCheckBox
Dim aControlInfo

set aCheckBox = Form.Controls_("chkMV")

aControlInfo =_
  "Caption: " & aCheckBox.Caption & vbNewLine &_ 
  "Width: " & aCheckBox.Width & vbNewLine &_
  "Height: " & aCheckBox.Height & vbNewLine &_
  "Hint: " & aCheckBox.Hint & vbNewLine &_
  "Left: " & aCheckBox.Left & vbNewLine &_
  "Top: " & aCheckBox.Top & vbNewLine &_
  "Tag: " & aCheckBox.Tag & vbNewLine &_
  "ShortName: " & aCheckBox.ShortName & vbNewLine &_
  "Enabled: " & aCheckBox.Enabled & vbNewLine &_
  "TypeName: " & aCheckBox.TypeName                
  
Profile.MsgBox(aControlInfo)  
Note: The offset of the checkbox from the top left corner of the form.

In Profile Client v8 on User Interface Left can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the checkbox in the controls tree > Left.

Version information

Added in v7.8.0