Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Taskdialog + Ctrl-C
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Taskdialog + Ctrl-C

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


Joined: 15 April 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Josef Quote  Post ReplyReply Direct Link To This Post Topic: Taskdialog + Ctrl-C
    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
Back to Top
nighthawk View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 June 2004
Status: Offline
Points: 167
Post Options Post Options   Thanks (0) Thanks(0)   Quote nighthawk Quote  Post ReplyReply Direct Link To This Post 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.
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.113 seconds.