ISEdit.Parent

Description

The parent control of the specified edit control.

Syntax

object.Parent

Part Attribute Type Description
object Required
The object always implements the ISEdit interface
Restriction: This property is readonly.

Return Value

ISControl

Example

Display the short name and type name of the parent control associated with the specified edit control.

sub main()
  Dim aEdit
  Dim aParentControl
  Dim aEditInfo

  Set aEdit = Form.Controls_("edtInform")
  set aParentControl = aEdit.Parent
  aEditInfo =_
    "PARENT CONTROL: " & vbNewLine &_
    "Short Name: " & aParentControl.ShortName & vbNewLine &_
    "Type Name: " & aParentControl.TypeName
  
  Profile.MsgBox(aEditInfo)
end sub 
Note: This macro should be executed in any event handler of the form control.

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

Version information

Added in v7.8.0