Richedit Select ALL

Richedit Select ALL

Postby Marc Vanzegbroeck » Wed Apr 08, 2009 1:01 pm

Hi,

How can I Select all text + graphics (CTRL-A) in richedit?
I have tried oGet:HighLightAllText() with to success.
I want to select all text and copy it into the clipboard.

Thanks,
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Richedit Select ALL

Postby StefanHaupt » Fri Apr 10, 2009 10:24 am

Marc,

try RESetSelection (hWnd,1,-1)
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Richedit Select ALL

Postby Antonio Linares » Fri Apr 10, 2009 1:35 pm

Marc,

Try this:

oRichEdit:SelectAll()
oRichEdit:Copy()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Richedit Select ALL

Postby Marc Vanzegbroeck » Fri Apr 10, 2009 3:16 pm

Antonio,

Its working, Thanks.

Regards,
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 47 guests