using Cmd-C and Cmd-V in get

using Cmd-C and Cmd-V in get

Postby plantenkennis » Tue Nov 29, 2016 10:15 pm

Hello,

How can I use Cmd-C and Cmd-V in a oget. I can rightclick on a get and select copy/past, but I would like to use the keys for this.
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: using Cmd-C and Cmd-V in get

Postby Antonio Linares » Wed Nov 30, 2016 9:49 am

René,

First select the text to copy with the mouse, then press Cmd+C to copy.

To paste, press Cmd+V
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: using Cmd-C and Cmd-V in get

Postby plantenkennis » Wed Nov 30, 2016 12:11 pm

Hello Antonio,

At my system this does not seem to work. Check with the registration app I posted last week. I only get a beep when i select the value of the get.
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: using Cmd-C and Cmd-V in get

Postby Antonio Linares » Wed Nov 30, 2016 1:36 pm

René,

You are right. I did not tested it as I was in Windows

I am going to review it

thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: using Cmd-C and Cmd-V in get

Postby plantenkennis » Wed Nov 30, 2016 2:44 pm

Hello Antonio,

Thanks!

Is there alo a possibilty to use other hotkey functions, like Cmd-P for a printing function.
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: using Cmd-C and Cmd-V in get

Postby Antonio Linares » Thu Dec 01, 2016 1:04 pm

René,

Hotkeys must be defined in the menu.

Please add this code to your menu:
Code: Select all  Expand view  RUN
     MENUITEM "Edit"
      MENU
         MENUITEM "Copy"  ACCELERATOR "c" ACTION AEval( oDlg:aControls, { | oCtrl | If( oCtrl:lFocused, oCtrl:Copy(),) } )
         MENUITEM "Paste" ACCELERATOR "v" ACTION AEval( oDlg:aControls, { | oCtrl | If( oCtrl:lFocused, oCtrl:Paste(),) } )
      ENDMENU
 

where oDlg is your currently used dialog. We are trying to find a way to automatically detect oDlg, so there is no need to keep
a reference to it

You could add another menuitem for Cmd+P
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: using Cmd-C and Cmd-V in get

Postby mastintin » Fri Dec 02, 2016 5:37 pm

Antonio, por favor , revisa el repositorio .
Un Saludo.
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: using Cmd-C and Cmd-V in get

Postby Antonio Linares » Sat Dec 03, 2016 9:17 am

Manuel,

Revisado y funcionando bien. Muchas gracias :-)

René, Mastintin (Manuel) has solved it in a simpler way. I have emailed you the modified libs.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: using Cmd-C and Cmd-V in get

Postby plantenkennis » Sun Dec 04, 2016 12:51 pm

Hello Antonio and Manuel,

Thank you for this. IT works perfect.
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: using Cmd-C and Cmd-V in get

Postby Antonio Linares » Sun Dec 04, 2016 7:36 pm

very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 16 guests