Could someone please help me out?
Thanks in advance
Otto
- Code: Select all Expand view
- #include "fivewin.ch"
function main()
local oWnd
local cVar := memoread(".\testMem2.prg")
local oGet
local oBtn2
DEFINE WINDOW oWnd
@ 1,1 get oGet VAR cVar MEMO SIZE 250,100 OF oWnd
@ 9, 7 BUTTON oBtn2 PROMPT "CRLF" OF oWnd ACTION (MsgBeep(),;
oGet:SetFocus(.t.),;
oGet:KeyDown( VK_RETURN ) )
//oGet:KeyChar(ASC("M")) OK
ACTIVATE WINDOW oWnd
return nil