Search found 23 matches: loadrtf

Return to advanced search

Re: Definir font richedit5

... RICHEDIT5 oMemo VAR uTemp OF oDlg PIXEL SIZE 200, 200 oDlg:oClient = oMemo omemo:SetFont( oFont ) ACTIVATE DIALOG oDlg CENTERED ; ON INIT ( oMemo:LoadRtf( cText ), oMemo:PostMsg( WM_KEYDOWN, VK_HOME, 0 ) , BuildRichEditBar( oDlg, oMemo, { | c | cText := c } ), oDlg:ReSize(), SendMessage( oMemo:hWnd, ...
by jpcavagnaro
Tue Dec 26, 2023 11:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Definir font richedit5
Replies: 3
Views: 611

error TXBROWSE:CARGOS

... oWndChild:End() ) // when xLiderAudit = xNUsuario // cancel ACTIVATE DIALOG princfac CENTERED nowait ON INIT ( princfac:Move( 0, 0 ) ) //, oRich:LoadRtf( xobserva ), oRich:PostMsg( WM_KEYDOWN, VK_HOME, 0 )) oWndChild:nWidth := princfac:nWidth + 7 oWndChild:nHeight := princfac:nHeight + 32 ACTIVATE ...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 288

Ayuda por favor con folder y listbox

... .f., dbCloseall() , princfac:End(), oWndChild:End() ) // cancel ACTIVATE DIALOG princfac CENTERED nowait ON INIT princfac:Move( 0, 0 ) //, oRich:LoadRtf( xobserva ), oRich:PostMsg( WM_KEYDOWN, VK_HOME, 0 )) oWndChild:nWidth := princfac:nWidth + 7 oWndChild:nHeight := princfac:nHeight + 32 ACTIVATE ...
by jpcavagnaro
Wed Mar 29, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda por favor con folder y listbox
Replies: 1
Views: 238

Re: Que cambios de hacer para pasar de RichEdit a la RICHEDIT5

Usa el metodo LoadRtf simplemente y me dices qué tal
by cnavarro
Tue Dec 27, 2022 6:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Que cambios de hacer para pasar de RichEdit a la RICHEDIT5
Replies: 25
Views: 1752

Ayuda RICHEDIT5 ??

Amigos buen dia. Estoy tratando de usar RICHEDI5 y me arroja este error "No existe el m‚todo: LOADRTF", esto es al tratar de asignar el texto. Aun cuando lo estoy usando en otros programas sin ningun problema, en este caso teniendo definicion de la misma forma ...
by remtec
Tue Sep 13, 2022 1:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda RICHEDIT5 ??
Replies: 7
Views: 465

Consulta Sobre Richedi5 ??

... enriquecidos. Necesariamente en el activate del Dialog debo usar ON INIT, de la siguiente forma? ACTIVATE DIALOG oDlg CENTERED ON INIT ( oRich:LoadRtf( cTxt ), oRich:PostMsg( WM_KEYDOWN, VK_HOME, 0 ) ) ; VALID ( cTxt := oRich:SaveAsRTF(), .T. ) Muchas gracias, saludos. Antonio
by remtec
Mon Aug 22, 2022 12:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta Sobre Richedi5 ??
Replies: 3
Views: 450

Re: RTF from Variable

Tim,

ACTIVATE DIALOG oDlg ON INIT ( oRich:LoadRTF( cRTF ), .T. )

same logic
by Antonio Linares
Thu Dec 09, 2021 9:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4310

Re: RTF from Variable

Try with
oRtf:LoadRTF( cText )

in ON INIT clause of ACTIVATE DIALOG
by cnavarro
Wed Dec 01, 2021 12:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4310

Save richedit to field

... , the text is empty. I use this method also for other things, and that is working. How can I set the text back into the richedit? I use oRich:LoadRTF( tekst ), but it's not working
by Marc Vanzegbroeck
Sat Jul 27, 2019 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save richedit to field
Replies: 1
Views: 397

Re: Consulta RICHEDIT

Antonio, con el código que te he puesto y también el compañero, debe funcionar sin problemas

Una vez definido el control RICHEDIT
oRich:LoadRTF( cTxt )
oRich:lHighLight = .T.
by cnavarro
Fri Feb 15, 2019 8:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta RICHEDIT
Replies: 30
Views: 4398

Re: RichType Print

Rick
When you load rtf text, use oRich:LoadRTF( cLetter ), instead of SetText, and try
by cnavarro
Thu May 11, 2017 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4276

Re: RTF from Variable

Enrico Maria Giordano wrote:
cnavarro wrote:METHOD LoadRTF is for load file .RTF, not a string


No. Please look at this:

Code: Select all  Expand view
METHOD LoadFromRTFFile( cFileName ) INLINE ::cFileName := cFileName, ::LoadRTF( MemoRead( ::cFileName ) )


EMG


Yes, you are right
and oRTF:LoadRTF( cLetter ) run OK
by cnavarro
Sat May 06, 2017 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4310

Re: RTF from Variable

cnavarro wrote:METHOD LoadRTF is for load file .RTF, not a string


No. Please look at this:

Code: Select all  Expand view
METHOD LoadFromRTFFile( cFileName ) INLINE ::cFileName := cFileName, ::LoadRTF( MemoRead( ::cFileName ) )


EMG
by Enrico Maria Giordano
Sat May 06, 2017 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4310

Re: RTF from Variable

Rick Lipkin wrote:What is the difference in :

oRtf:LoadRTF( cRtf ) // this method does not work
oRtf:SetText( cRtf ) // this method DOES work


Both work fine for me.

EMG
by Enrico Maria Giordano
Sat May 06, 2017 6:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4310

Re: RTF from Variable

... to see the hi-lights .. any way I can TURN OFF the hi-lights .. perhaps a KeyBoard() command to clear the color ? What is the difference in : oRtf:LoadRTF( cRtf ) // this method does not work oRtf:SetText( cRtf ) // this method DOES work Rick METHOD LoadRTF is for load file .RTF, not a string Please ...
by cnavarro
Sat May 06, 2017 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4310
Next

Return to advanced search