FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour memoedit() need some help.
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
memoedit() need some help.
Posted: Mon Feb 14, 2011 11:13 PM

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?

Thank you

Harvey
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: memoedit() need some help.
Posted: Tue Feb 15, 2011 02:21 PM
Code (fw): Select all Collapse
oDlg:bStart = { || oGet:GoBottom() }


EMG
Posts: 103
Joined: Sat Oct 18, 2008 08:13 PM
Re: memoedit() need some help.
Posted: Tue Feb 15, 2011 02:59 PM
Hi Harvey,

hag wrote: How can turn the highlight off?


Maybe this helps:

Code (fw): Select all Collapse
      
#define EM_SETSEL               177

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

Ruediger Alich



---

HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
Re: memoedit() need some help.
Posted: Tue Feb 15, 2011 04:23 PM

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.

Thank you

Harvey
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: memoedit() need some help.
Posted: Tue Feb 15, 2011 07:12 PM
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

Continue the discussion