ISProfile.CommonDialog

Description

This property returns the objects that allows to create different types of dialog windows.

Syntax

object.CommonDialog

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

Return Value

ISCommonDialogs

Example

Show the data range dialog with pre-initilised values and display the user-entered start date.

Dim aDialog
Dim aResult

Set aDialog = Profile.CommonDialog.NewPeriodDialog
aDialog.DaysCtrlVisible = True
aDialog.StartDate = #10/10/2018#
aDialog.EndDate = #12/12/2018#

aResult = aDialog.Execute

if aResult then 
  Profile.MsgBox(aDialog.StartDate)
else 
  Profile.MsgBox("The time range was not selected")
end if
Note:

In Profile Client v8 on User Interface Common Dialog cannot be found.

Version information

Added in v7.8.0