The Click-Event by the ReportControl |
Post Reply |
Author | |
finn
Groupie Joined: 11 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
Posted: 22 March 2005 at 5:26am |
Hello! I'm working with Visual Basic 6 Enterprise Edition and have got one question. The ReportControl has got the Events "RowDblClik" and "RowRClick". But how can I know, that the user clicked with the left mouse button on the ReportControl. I want to know that, because I ant to react, when the user clicked with the left mouse butoon on the ReportControl. Thanks for help! Yours, Finn! PS.: Soryy for my bad English, but I'm from Germany and can't speak and write English very well. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
use MouseDown event.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
finn
Groupie Joined: 11 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
|
Thank you! Yours, Finn! |
|
finn
Groupie Joined: 11 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
|
Hello! I tried to use the MouseDown event, but it doesn't work like I want. Now I will tell you, what I want to do: When the user clicks with the left mouse button on a row, which isn't a GroupRow, then I want to read out the value of the first column. I hope you can help me! Yours, Finn |
|
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
|
Take a look at the ReportControl Sample for a better idea of how to use the MouseDown event. Below is a modified snippet of the code from this event in frmMain. Hope this does the trick
Edited by ianp |
|
finn
Groupie Joined: 11 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
|
Thank you very much! It works very well! Yours, Finn! |
|
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 |