hmCal_Get Selection Mode
hmCal_Get Selection Mode(area) -> mode
Parameter Type Description
area Longint -> hmCal area
mode Longint <- selection mode
The command hmCal_Get Selection Mode returns the current selection mode of the calendar. There are three modes:
- 0 = no appointment selectable
- 1 = only one appointment selectable
- 2 = more than one appointment selectable
The following example returns the current selection mode:
C_LONGINT($vl_mode)
$vl_mode=hmCal_Get Selection Mode(hmCal)