Search found 25 matches: crtf

Return to advanced search

recuperar texto desde richedit

Hola, estoy pasanto una variable al richedit ACTIVATE WINDOW oWndR on init oRTF:SetText( crtf )
Funciona perfecto, una ves que termine de modificar el texto como hago para recuperarlo en la variable.

Saludos
Jorge
by jpcavagnaro
Sat Dec 31, 2022 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: recuperar texto desde richedit
Replies: 5
Views: 407

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

... con la clausula ON INIT del dialogo, ya lo hacía cuando usaba la clase RICHEDIT y funcionaba bien con todas estas condiciones: oRtf:LoadAsRTF(cRtf) oRtf:SetText(cRtf) oRtf:SetFontName("Ms Sans Serif") oRtf:SetFontSize(10) oRtf:bChange:={ || IF( oRtf:IsModify(), cRtf:=oRtf:SaveAsRTF(), ...
by nanoespinoza
Tue Dec 27, 2022 5:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Que cambios de hacer para pasar de RichEdit a la RICHEDIT5
Replies: 25
Views: 1697

Re: New FTDN March/Marzo 2022 (FWH 22.03)

... - Nueva función FW_RichtextBmp( cRTF, nWidth, nHeight ) --> hBitmap Ejemplos: rtfsay.prg, rtfprn.prg * Ejemplos: - testprn5.prg, testprn6.prg mejorados. - Nuevo ejemplo: msink.prg ...
by Antonio Linares
Mon Apr 11, 2022 4:11 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 624

New FTDN March/Marzo 2022 (FWH 22.03)

... - New function FW_RichtextBmp( cRTF, nWidth, nHeight ) --> hBitmap Samples: rtfsay.prg, rtfprn.prg * samples: - testprn5.prg, testprn6.prg enhanced. - msink.prg :New sample http://forums.fivetechsupport.com/viewtopic.php?f=3&t=41605&sid=4944e79659907309685cf04b94841dde ...
by Antonio Linares
Sun Apr 10, 2022 7:02 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 624

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: 4245

¿Se puede parametrizar Microsoft Print To PDF?

... pdf un archivo rtf e indicándole la carpeta donde tiene que guardarlo? Por ejemplo: Local cprinter:= "Microsfort printer to PDF" Local crtf:= "modelo.rtf" Local cCarpeta:= "\FWH\samples cPdf:="modelo.pdf" La idea que tengo, si se puede hacer, es usar la impresora ...
by Ramón J.
Wed Jan 06, 2021 11:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Se puede parametrizar Microsoft Print To PDF?
Replies: 13
Views: 899

Re: Testrtf5.prg - RichEdi5

He logrado abrir en solo lectura: @ 03, 0 RICHEDIT5 oRTF VAR cRTF OF oWnd File "TestRTF.RTF" READONLY Como cambio para el que el RTF sea editable al pulsar un botón DEFINE BUTTON obtns OF oBar resource "Edit"; MESSAGE "Editar Texto" ...
by Jorge_T
Thu Oct 17, 2019 5:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Testrtf5.prg - RichEdi5
Replies: 5
Views: 682

Re: RichType Print

Cristobal

I am going to tackle the insert picture in code later .. as a test I cut and pasted manually the image..to test .. I just want to save the entire cRtf ( with image ) to the Access Memo type .. ..

Rick Lipkin
by Rick Lipkin
Wed May 10, 2017 4:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4272

Re: RichType Print

Rick
Insert image before into cRtf and try
by cnavarro
Tue May 09, 2017 8:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4272

RichType Print

To All I am trying to print a RichType letter saved as a variable cRtf ... I know I can use the Print and Preview methods, however, I am adding a stored custom masthead to my RichText. I am struggling to be able to insert richtext after the image .. I can ...
by Rick Lipkin
Tue May 09, 2017 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4272

Re: RTF from Variable

Cristabol The oRtf:InsertRTF( cRTF ) method did not load any text ... 1) I do not see a method to move the cursor to the top ?? any ideas on that ? 2) a Workaround to the initial ( un-wanted ) hi-lights would be to issue a mouse click .. ...
by cnavarro
Sat May 06, 2017 6:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4245

Re: RTF from Variable

Cristabol The oRtf:InsertRTF( cRTF ) method did not load any text ... 1) I do not see a method to move the cursor to the top ?? any ideas on that ? 2) a Workaround to the initial ( un-wanted ) hi-lights would be to issue a mouse click .. ...
by Rick Lipkin
Sat May 06, 2017 6:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4245

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: 4245

Re: RTF from Variable

... 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 try ...
by cnavarro
Sat May 06, 2017 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4245

Re: RTF from Variable

... 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 Also .. is there a oRtf:MoveTop .. I see GoToLine() .. but oRtf:GoToLine(1) ...
by Rick Lipkin
Sat May 06, 2017 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4245
Next

Return to advanced search

cron