STRANGE Problem with Memo Get

STRANGE Problem with Memo Get

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: STRANGE Problem with Memo Get

Postby Antonio Linares » Sat Sep 21, 2013 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: STRANGE Problem with Memo Get

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests