![]() |
MouseDown vs Click Event |
Post Reply ![]() |
Author | ||
Auge_Ohr ![]() Groupie ![]() Joined: 20 December 2008 Status: Offline Points: 65 |
![]() ![]() ![]() ![]() ![]() Posted: 18 March 2009 at 11:14pm |
|
hi,
Codejock does "fire" MouseDown(Button, Shift, x , y ) and have a Click Event so now if i have both which are 1st ? or how to handle both Events ? if Button = vbLeftButton .AND. myClick() = true if Button = vbLeftButton .OR. myClick() = true if Button = vbLeftButton .AND. .NOT. myClick() = true ... and DblClick Event -> 2x MouseDown -> 4x action ? |
||
greetings by OHR
Jimmy |
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
You have strange questions. to determine first - guess its easy to run and check it :)
You don't need both events. MouseDown in most cases is extended Click with points and shift information.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
Auge_Ohr ![]() Groupie ![]() Joined: 20 December 2008 Status: Offline Points: 65 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
... when both "fire" a Event "i" can not say which are 1st with my Xbase++ Debugger.
ok so Button = 1 are "left"-click -> Click Event ... and how DblClick Event ( <- 2x Button = 1) ? have still a "leak" in activeX so i must find workaround for my "wrapper" thx for support, i will come back with more Question ![]() |
||
greetings by OHR
Jimmy |
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Yeap DblClick is 2 left button click.
if you need mouse down even better use MouseDown event. Sometimes Click also means some selection is changed by keyboard also.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |