This function returns the text property from the specified control of the form.
object.ControlText(aName)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfileForm interface |
|
aName |
In, Required | string |
The name of the control |
string
Display some information about the form, including the text property from the specified form control.
Dim aForm
Dim aFormInfo
Set aForm = Profile.Form
aFormInfo =_
"Short Name: " & aForm.ShortName & vbNewLine &_
"TypeName: " & aForm.TypeName & vbNewLine &_
"ControlText: " & aForm.ControlText ("edtPatientName")
Profile.MsgBox(aFormInfo)
In Profile Client v8 on User Interface Control Text can be found in
.