ISEdit.CurrentControlName

Description

The current name of the specified edit control.

Syntax

object.CurrentControlName()

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

Return Value

string

Example

Display some information about the specified edit control, including its current name.

Dim aEdit
Dim aEditInfo

Set aEdit = Form.Controls_("edtInform")
aEditInfo =_
  "Short Name: " & aEdit.ShortName & vbNewLine &_
  "TypeName: " & aEdit.TypeName & vbNewLine &_   
  "Current Control Name: " & aEdit.CurrentControlName
 
Profile.MsgBox(aEditInfo) 
Note: This macro should be executed in any event handler of the form control.

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

Version information

Added in v7.8.0