Page 1 of 1

memoedit() need some help.

Posted: Mon Feb 14, 2011 11:13 pm
by hag
When a user activates memoedit() the entire get is highlighted. I want to turn the highlight off. If it is not off 1 key stroke blows the data out. How can turn the highlight off?

Re: memoedit() need some help.

Posted: Tue Feb 15, 2011 2:21 pm
by Enrico Maria Giordano

Code: Select all

oDlg:bStart = { || oGet:GoBottom() }
EMG

Re: memoedit() need some help.

Posted: Tue Feb 15, 2011 2:59 pm
by IBTC
Hi Harvey,
hag wrote: How can turn the highlight off?
Maybe this helps:

Code: Select all

      
#define EM_SETSEL               177

ACTIVATE DIALOG oDlg;
         on init PostMessage(oMemo:hWnd, EM_SETSEL, 0, 0)
 

Re: memoedit() need some help.

Posted: Tue Feb 15, 2011 4:23 pm
by hag
Thank you both for the info. Worked: oDlg:bStart = { || oGet:GoBottom() }

BTW is there any place to search for solutions etc. I often wonder where many of you come up with this info?
This forum sure does help.

Re: memoedit() need some help.

Posted: Tue Feb 15, 2011 7:12 pm
by Enrico Maria Giordano
hag wrote:I often wonder where many of you come up with this info?
Hard to say. For this specific problem that was the natural solution. :-)

EMG