Is there a way to put a value from a table field automatically into the mark copy with something like ctrl+f7.
I need to right click and paste it into an external website text box. I can go my text box and mark and copy, but to slow and hard for clients to do.
Thanks in advance.
mark copy paste
Moderator: Rathinagiri
mark copy paste
All The Best,
Franco
Canada
Franco
Canada
- Claudio Ricardo
- Posts: 367
- Joined: Tue Oct 27, 2020 3:38 am
- DBs Used: DBF, MySQL, MariaDB
- Location: Bs. As. - Argentina
Re: mark copy paste
Hi... You can do:
Load Window Your_Form
On Key Your_Key_Combination Of Your_Form Action System.Clipboard := 'Value_you_can_put_in_clipboard'
Example:
Load Window Main
-------
On Key Up Of Main Action System.Clipboard := 'You have press key Up!' // <-- value stored in Window$ clipboard when press Up key
If you need copy image (.bmp, .jpg, etc.) to clipboard, BosTaurus library have nice functions.
Load Window Your_Form
On Key Your_Key_Combination Of Your_Form Action System.Clipboard := 'Value_you_can_put_in_clipboard'
Example:
Load Window Main
-------
On Key Up Of Main Action System.Clipboard := 'You have press key Up!' // <-- value stored in Window$ clipboard when press Up key
If you need copy image (.bmp, .jpg, etc.) to clipboard, BosTaurus library have nice functions.
Corrige al sabio y lo harás más sabio, Corrige al necio y lo harás tu enemigo.
WhatsApp / Telegram: +54 911-63016162
WhatsApp / Telegram: +54 911-63016162
Re: mark copy paste
Thanks Claudio, Exactly what I needed. Works perfect.
On Key control+C Of Main Action System.Clipboard := invoice->serial_no //serial_no is field in table. I am on the record I need.
On Key control+C Of Main Action System.Clipboard := invoice->serial_no //serial_no is field in table. I am on the record I need.
All The Best,
Franco
Canada
Franco
Canada