Page History
...
The remaining parameters identify the state of various objects when the click occured. The Point parameter identifies the location of the mouse cursor relative to the control's upper left hand corner. The Button parameter names the mouse button used to execute the click and will be "Left", "Middle", or "Right". TheShift and Control parameters indicate whether or not the SHIFT or CTRL keys respectively where pressed during the click. Is such cases, they will be set to 1.'
Example
Code Block |
---|
TransferTransfer Param1 to Month Transfer Param2 to Week Transfer Param3 to DayOfWeek Transfer Param4 to Date Transfer Param5 to Point Transfer Param6 to Button Transfer Param7 to Shift Transfer Param8 to Ctrl // Did the user double click a date? DateClicked = (Month NE "" AND Week NE "" AND DayOfWeek NE "" AND Date NE "") // Did the user double click only a week number? WeekNumberClicked = (Month NE "" AND Week NE "" AND DayOfWeek EQ "" AND Date EQ "") // Did the user double click only a day of week? DayOfWeekClicked = (Month NE "" AND Week EQ "" AND DayOfWeek NE "" AND Date EQ "") // Did the user double click only a month MonthClicked = (Month NE "" AND Week EQ "" AND DayOfWeek EQ "" AND Date EQ "") // Did the user double click on an empty portion of the control ControlClicked = (Month EQ "" AND Week EQ "" AND DayOfWeek EQ "" AND Date EQ "") |
...