How can I use Enter (to get a new line) in a memo field?
When I press Enter, it presses my (DEFAULT) "OK" button. (Which is fine, but can I use Shift-Enter or something to get a new line? How?)
Thanks in advance.
REDEFINE GET ocomen VAR ccomentario MEMO ID 113 OF oDlg
ocomen:bKeyDown := { | nKey, nFlags | iif(nkey==13,ocodcon:Setfocus(),)}
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: No registered users and 64 guests