LJtechnical
Technical User
Hi,
I have a button which outputs a report to pdf, all works perfectly. Now I would like to enable the user to hold down the control key and click the same button to have the report out put to word.
I'm fine with the output to word bit, but not so sure how or where to code the control key bit. I guess i'll need to use the keydown event of the main form, but how to lnk this to click event of the button is troubling me.
Any suggestions?
Thanks
I have a button which outputs a report to pdf, all works perfectly. Now I would like to enable the user to hold down the control key and click the same button to have the report out put to word.
I'm fine with the output to word bit, but not so sure how or where to code the control key bit. I guess i'll need to use the keydown event of the main form, but how to lnk this to click event of the button is troubling me.
Any suggestions?
Thanks