clipboard
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: clipboard
>How do you get a ctrl c and ctrl v copy?
They work for me.
Can you provide an small sample showing the problem?
James
They work for me.
Can you provide an small sample showing the problem?
James
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: clipboard
if you are using resources , add this to your resource
ES_AUTOHSCROLL
Hth
Richard
ES_AUTOHSCROLL
Hth
Richard
Re: clipboard
it is simply
DEFINE CLIPBOARD oClp OF oApp():oDlg
MENU oMenu POPUP 2007
....
MENUITEM "Copia il codice utente in memoria";
RESOURCE "SM_CLIP1";
ACTION oClp:SetText( (cDBF)->CLUSUARIO )
MENUITEM "Copia la password in memoria" ;
RESOURCE "SM_CLIP2";
ACTION oClp:SetText( (cDBF)->CLCLAVE )
MENUITEM "Vedere la stringa in memoria" ;
RESOURCE "SM_CLIP3";
ACTION GetSomeText(oClp)
SEPARATOR
ENDMENU
ACTIVATE POPUP oMenu
DEFINE CLIPBOARD oClp OF oApp():oDlg
MENU oMenu POPUP 2007
....
MENUITEM "Copia il codice utente in memoria";
RESOURCE "SM_CLIP1";
ACTION oClp:SetText( (cDBF)->CLUSUARIO )
MENUITEM "Copia la password in memoria" ;
RESOURCE "SM_CLIP2";
ACTION oClp:SetText( (cDBF)->CLCLAVE )
MENUITEM "Vedere la stringa in memoria" ;
RESOURCE "SM_CLIP3";
ACTION GetSomeText(oClp)
SEPARATOR
ENDMENU
ACTIVATE POPUP oMenu
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: clipboard
Harvey,
>mine drops the right number. 123456 pastes as 12345.
If your field length is 6 (for the above example) the problem may be an artifact caused by the way Clipper handles the cursor (which was carried over to (x)Harbour). The cursor will be after the 5 when the entire field is full, rather than after the 6 as one might expect.
Richard's suggestion may solve it.
James
>mine drops the right number. 123456 pastes as 12345.
If your field length is 6 (for the above example) the problem may be an artifact caused by the way Clipper handles the cursor (which was carried over to (x)Harbour). The cursor will be after the 5 when the entire field is full, rather than after the 6 as one might expect.
Richard's suggestion may solve it.
James