ISProfileForm.ShowModal

Description

This function shows a form as a modal form.

Syntax

object.ShowModal()

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

Return Value

int

Returns the modal result for the form.

Example

Display the modal result for the form.

Dim aPatient
Dim aForm
Dim aModalResult

Set aPatient = Profile.SelectPatient
set aForm = Profile.OpenFormByPath(aPatient.Id, "Clinical\Lifestyle and Behaviours", true, true)
aModalResult = aForm.ShowModal
Profile.MsgBox(aModalResult)
Note: In Profile Client v8 on User Interface Show Modal cannot be found.

Version information

Added in v8.2.6