memoedit() need some help.

Post Reply
hag
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California
Contact:

memoedit() need some help.

Post 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?
Thank you
Harvey
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: memoedit() need some help.

Post 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)
 
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
hag
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California
Contact:

Re: memoedit() need some help.

Post 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.
Thank you
Harvey
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: memoedit() need some help.

Post 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
Post Reply