FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour possible bug in Richedit [solved]
Posts: 422
Joined: Mon Aug 17, 2009 12:18 PM
possible bug in Richedit [solved]
Posted: Thu Mar 31, 2011 09:10 AM
Hi,

In this sample: http://demo.ovh.com/es/81548502201e3f47 ... 73bc8423d/

When it loads the text, all is selected as picture shows:



Uploaded with ImageShack.us


I want to avoid this uggly effect.

I also have tried
Code (fw): Select all Collapse
ACTIVATE DIALOG oDlg CENTERED ;
on init ( oRich:SetText( MemoRead( "rtf.prg" ) ), oRich:GotoLine(1) )
but it does nothing.

Any clue please?.

Thank you :-)
Saludos,



Eduardo
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: possible bug in Richedit
Posted: Thu Mar 31, 2011 10:17 AM
Code (fw): Select all Collapse
oDlg:bStart = { || oRich:SetPos( 0 ) }


EMG
Posts: 422
Joined: Mon Aug 17, 2009 12:18 PM
Re: possible bug in Richedit [solved]
Posted: Thu Mar 31, 2011 10:49 AM

Thank you very much.

Saludos,



Eduardo

Continue the discussion