Print Page | Close Window

Taskdialog + Ctrl-C

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12201
Printed Date: 28 September 2024 at 11:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Taskdialog + Ctrl-C
Posted By: Josef
Subject: Taskdialog + Ctrl-C
Date Posted: 18 September 2008 at 10:12pm
Hi,

is it possible to copy the message text to clipboard with Ctrl+C (like Messagebox)?

If not, could you please add an keypress event or something?

Thank you,
Josef


-------------
Product: Xtreme SuitePro ActiveX v13.2.1
Platform: Windows 2008 (64bit)
Language: Visual Basic 6.0



Replies:
Posted By: nighthawk
Date Posted: 22 September 2008 at 3:17pm
I added a custom button with a label "Copy to Clipboard".  I keep the non-markup version of the error message saved in a variable and when the button is pressed, I execute the following code in the ButtonClick event:

            Clipboard.SetText strCurrentErrorMessage
            CloseDialog = False //don't close the dialog box

It would be nice if Ctrl+C was supported but having the button makes it obvious to my novice users that the error message can be copied to the clipboard.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net