User Tools

Site Tools


user_action_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
user_action_commands [2017/08/31 16:21] – [CS_SetCallback] cs_adminuser_action_commands [2017/10/18 18:05] – [CS_GetAction] cs_admin
Line 51: Line 51:
  
 ^ Action  ^ Value  ^ Constant  ^ ^ Action  ^ Value  ^ Constant  ^
-| User click on day (no event selected) | 1 | CS_Action_ClickOnDay | +| User clicked on day (no event selected) | 1 | CS_Action_ClickOnDay | 
-| User closed the window (valid only for a CalendarSet plugin window) | 2 | CS_Action_WindowClosed |+| User closed the window (valid only for a CalendarSet plugin window – deprecated in 64-bit 4D) | 2 | CS_Action_WindowClosed |
 | User clicked on an event or banner | 3 | CS_Action_ClickOnEventBanner  | | User clicked on an event or banner | 3 | CS_Action_ClickOnEventBanner  |
-| User dragged an event or banner (deprecated) | 4 |   |+| User dragged an event or banner | 4 | (deprecated) |
 | User resized a banner | 5 | CS_Action_BannerResize | | User resized a banner | 5 | CS_Action_BannerResize |
-| User resized the window (obsolete) | 6 |   |+| User resized the window | 6 | (obsolete) |
 | User dropped something onto the area | 7 | CS_Action_Drop | | User dropped something onto the area | 7 | CS_Action_Drop |
 | Dragging a non CalendarSet/AreaList Pro object over the area | 8 | CS_Action_DragOver | | Dragging a non CalendarSet/AreaList Pro object over the area | 8 | CS_Action_DragOver |
 +| User resized an event | 9 | CS_Action_EventResize |
 +| User clicked on the "All day" area (below the day header) | 10 | CS_Action_ClickOnAllDay |
 +| User clicked on a day header | 11 | CS_Action_ClickOnDayHdr |
 +| User clicked on the Month/Year (upper left) | 12 | CS_Action_ClickOnYearHdr |
  
 === Example  === === Example  ===
Line 321: Line 325:
   // Open a CalendarSet object in an plugin window.
   // Open a CalendarSet object in an plugin window.

   // Configure the calendar for single day selection.   // Configure the calendar for single day selection.
-  
// Highlight the entire day, show info in unused days, display month prefix. +  // Highlight the entire day, show info in unused days, display month prefix. 
   // Show the Current date in Times 14 point bold.   // Show the Current date in Times 14 point bold.
-  
// Set the click method to be "HandleCalClick"+  // Set the click method to be "HandleCalClick"
   vCalWindow:= Open external window(50; 50; 400; 400; 4; "Calendar Window"; "_CS_Area"   vCalWindow:= Open external window(50; 50; 400; 400; 4; "Calendar Window"; "_CS_Area"
    // open the window with CalendarSet displayed     // open the window with CalendarSet displayed 
user_action_commands.txt · Last modified: 2018/02/27 18:45 by cs_admin