I can’t get ENTER key working in the memo filed.
What do I miss.
Thanks in advance
Otto
Code: Select all
prg file
#INCLUDE "FiveWin.ch"
function Main()
local oDlg, oText, cText := ""
DEFINE DIALOG oDlg RESOURCE "Test"
REDEFINE GET oText VAR cText MULTILINE ID 102 OF oDlg UPDATE
ACTIVATE DIALOG oDlg CENTERED
return nil
rc-file
TEST DIALOG 61, 39, 194, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Testing Memo"
FONT 8, "Tahoma"
BEGIN
CONTROL "", 102, "EDIT", ES_LEFT | ES_MULTILINE | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL, 45, 31, 102, 51
END