FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Richedit Select ALL
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Richedit Select ALL
Posted: Wed Apr 08, 2009 01: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
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: Richedit Select ALL
Posted: Fri Apr 10, 2009 10:24 AM

Marc,

try RESetSelection (hWnd,1,-1)

kind regards

Stefan
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Richedit Select ALL
Posted: Fri Apr 10, 2009 01:35 PM

Marc,

Try this:

oRichEdit:SelectAll()
oRichEdit:Copy()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Richedit Select ALL
Posted: Fri Apr 10, 2009 03:16 PM

Antonio,

Its working, Thanks.

Regards,
Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion