hmCal_GET LAST DESTINATION

hmCal_GET LAST DESTINATION(area;target;date;time;user)

Parameter          Type             Description
area               Longint      ->  hmCal area
target             Longint      <-  target
date               Datum        <-  click date
time               Longint      <-  click time
user               Longint      <-  user id

Contents

Description

The command hmCal_GET LAST DESTINATION returns information about the last click oder doubleclick. You can use this command in the object method of the calendar.

target


date and time

Returns the date and time of the last click. If the last click was outside the calendar area an empty date and time will be returned.

user id

Returns the user id of the last click.

Example

The following example requests several information about the last click:

C_LONGINT($vl_event;$vl_ziel;$vl_zeit;$vl_userid)
C_DATE($vd_datum)

If (Form event=On Plug in Area )

 $vl_event:=hmCal_Get Last Event (calarea)

 if($vl_event=On Clicked )
  
  $vl_ziel:=0
  $vd_datum:=!00.00.00!
  $vl_zeit:=0
  $vl_userid:=0
  hmCal_GET LAST DESTINATION (calarea;$vl_ziel;$vd_datum;$vl_zeit;$vl_userid)
	
 End if

End if