possible bug in Richedit [solved]

possible bug in Richedit [solved]

Postby mgsoft » Thu Mar 31, 2011 9:10 am

Hi,

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

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

Image

Uploaded with ImageShack.us


I want to avoid this uggly effect.

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

Any clue please?.

Thank you ;)
Last edited by mgsoft on Thu Mar 31, 2011 10:48 am, edited 1 time in total.
Saludos,

Eduardo
User avatar
mgsoft
 
Posts: 422
Joined: Mon Aug 17, 2009 12:18 pm
Location: España

Re: possible bug in Richedit

Postby Enrico Maria Giordano » Thu Mar 31, 2011 10:17 am

Code: Select all  Expand view
oDlg:bStart = { || oRich:SetPos( 0 ) }


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: possible bug in Richedit [solved]

Postby mgsoft » Thu Mar 31, 2011 10:49 am

Thank you very much.
Saludos,

Eduardo
User avatar
mgsoft
 
Posts: 422
Joined: Mon Aug 17, 2009 12:18 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 87 guests