memoedit() need some help.
memoedit() need some help.
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
Harvey
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: memoedit() need some help.
Code: Select all
oDlg:bStart = { || oGet:GoBottom() }
Re: memoedit() need some help.
Hi Harvey,
Maybe this helps:hag wrote: How can turn the highlight off?
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
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
Re: memoedit() need some help.
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.
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
Harvey
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: memoedit() need some help.
Hard to say. For this specific problem that was the natural solution.hag wrote:I often wonder where many of you come up with this info?
EMG