Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - MouseDown vs Click Event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MouseDown vs Click Event

 Post Reply Post Reply
Author
Message
Auge_Ohr View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Status: Offline
Points: 65
Post Options Post Options   Thanks (0) Thanks(0)   Quote Auge_Ohr Quote  Post ReplyReply Direct Link To This Post Topic: MouseDown vs Click Event
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 March 2009 at 2:30am
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
Back to Top
Auge_Ohr View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Status: Offline
Points: 65
Post Options Post Options   Thanks (0) Thanks(0)   Quote Auge_Ohr Quote  Post ReplyReply Direct Link To This Post Posted: 20 March 2009 at 5:17am
Hi,
Originally posted by oleg oleg wrote:

You have strange questions. to determine first - guess its easy to run and check it :)

... when both "fire" a Event "i" can not say which are 1st with my Xbase++ Debugger.
Originally posted by oleg oleg wrote:

You don't need both events. MouseDown in most cases is extended Click with points and shift information.

ok so Button = 1 are "left"-click -> Click Event ... and how DblClick Event ( <- 2x Button = 1) ?

i agree that my Question are "basic", but Xbase++ support for Codejock
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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 March 2009 at 6:15am
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.