FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour STRANGE Problem with Memo Get
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
STRANGE Problem with Memo Get
Posted: Sat Sep 21, 2013 11:35 AM

I have a get Memo
@ 1,0 GET oGet VAR cText MEMO Size 100,100 OF oDlg

and I try to insert on it a text

SET KEY VK_F2 TO oGet:Paste( DToC( Date() ) )

when I press F3 insert on memo get this

TMULTIGET:HANDLEEVENT

why ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: STRANGE Problem with Memo Get
Posted: Sat Sep 21, 2013 08:26 PM

Silvio,

SET KEY command is a Clipper command that Harbour also implements, and does not accepts parameters.

FiveWin lets you do it this way:

SetKey( VK_F2, { || oGet:Paste( DToC( Date() ) ) } )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: STRANGE Problem with Memo Get
Posted: Sat Sep 21, 2013 10:04 PM

I tried a sample of fwh

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion