user_action_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user_action_commands [2017/10/18 16:47] – [CS_GetAction] cs_admin | user_action_commands [2018/02/27 18:45] (current) – [CS_GetAction] cs_admin | ||
---|---|---|---|
Line 46: | Line 46: | ||
This routine is called from the CalendarSet object method (or for a CalendarSet plugin window, from the **MethodToExecute**) See [[user_action_commands# | This routine is called from the CalendarSet object method (or for a CalendarSet plugin window, from the **MethodToExecute**) See [[user_action_commands# | ||
- | **ActionCode** — Integer, 1 to 8. This parameter is returned with a value indicating what action the user made on the CalendarSet object. | + | **ActionCode** — Integer. This parameter is returned with a value indicating what action the user made on the CalendarSet object. |
Possible values are: | Possible values are: | ||
^ Action | ^ Action | ||
- | | User click on day (no event selected) | 1 | CS_Action_ClickOnDay | | + | | User clicked |
- | | 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 |
| 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 | + | | 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 | + | | 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/ | | Dragging a non CalendarSet/ | ||
| User resized an event | 9 | CS_Action_EventResize | | | 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 | | ||
+ | | User hit DELETE/ | ||
+ | | User created banner by drag | 14 | CS_Action_BannerCreated | | ||
+ | | User created event by drag | 15 | CS_Action_EventCreated | | ||
=== Example | === Example |
user_action_commands.txt · Last modified: 2018/02/27 18:45 by cs_admin