Article Details
Id:18940
Product:finPOWER Connect
Type:NEW
Version:3.04.04
Opened:08/02/2022
Closed:08/02/2022
Released:09/06/2022
Job: J028253

CommonDialog; added GetInputDate common dialog

A new common dialog form has been added, namely GetInputDate.

This allows a very simple option of allowing the user to enter a Date.

Sample script code:

Dim Value As Date

If userInterface.CommonDialog.GetInputDate(Value, "WINDOW TITLE", "My Heading", "Date:", iseDateSpecialType.None, #1/1/2022#) Then
  userinterface.MsgBoxEx("Entered " & finBL.FormatDateLong(Value))
Else
  userinterface.MsgBoxEx("Cancelled")
End If