>Dear Experts
>
>I want to run some codes while Mouse Left Click + Ctrl key combination.
>I mean, While pressing Ctrl key If I click on Lable12 then this message should appear
>messagebox("You pressed ctrl+clik")
>What should I write on lable12's keypress or mouse down event
>
>Please help
The Click() Event doesn't have a way to check for additional keys, but the MouseDown() Event has. Here is an example:
LPARAMETERS nButton, nShift, nXCoord, nYCoord
if nShift = 2
MessageBox("Ctrl-Click")
else
MessageBox("Simple click, or some other combination")
endif
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)