Track Control -Double Click On Block |
Post Reply |
Author | ||||
wsun
Groupie Joined: 11 January 2012 Status: Offline Points: 22 |
Post Options
Thanks(0)
Posted: 29 March 2012 at 12:07am |
|||
Hi,
Got anyone how to show a message box when double click on block? Hope someone can help me. |
||||
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
|||
Hi,
This might not be the best way but it works as a workaround for your needs:
Next add the following code to the ReportControl:
|
||||
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
||||
wsun
Groupie Joined: 11 January 2012 Status: Offline Points: 22 |
Post Options
Thanks(0)
|
|||
Hi,
I'm using Xtreme SuitePro ActiveX v15.0.1. It is not work for me when clicking on the block and it didn't run the MouseDown event. I hope that can get some advise from all of you. Thank you.
|
||||
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
|||
Hi,
Sorry for the delay in getting back to you. It looks like the MouseUp event doesn't fire if you have the .AllowBlockMove = True, setting this to False allows this to work. In my project I use the TrackControl for display purposes only, therefore I have this set to False. |
||||
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
||||
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
|||
Hi,
I have had another look at the DblClick event as the method I posted wasn't that reliable. I have found some code on these forums (I can't remember which post!) and built upon the code to create a class that adds the missing DblClick event, however doing so swallows the RowDblClick so I have had to extend the RowDblClick event too. Here's the code: uploads/2960/cExtender.rar How to use... Before adding any code you must first have the SSubTimer6.dll file downloaded on your computer. This can be found on vbaccelerator at: http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp Step 1:
Step 2:
Step 3:
Step 4:
|
||||
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
||||
diegosoftlord
Newbie Joined: 24 May 2012 Location: Resistencia Status: Offline Points: 2 |
Post Options
Thanks(0)
|
|||
Hi!
! i'm new in the Post.-
You can show some example for change the label time with date format.- Because i Could not get it yet .- Thank You Very Much |
||||
Diego Ramos
|
||||
wsun
Groupie Joined: 11 January 2012 Status: Offline Points: 22 |
Post Options
Thanks(0)
|
|||
Hi,
Yes, i got it. Thank you very much.
|
||||
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 |