Search found 36 matches: saveasrtf

Return to advanced search

Re: recuperar texto desde richedit

Estmado Jorge,

oRichEdit:SaveAsRTF() --> cRTFText
by Antonio Linares
Sun Jan 01, 2023 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: recuperar texto desde richedit
Replies: 5
Views: 391

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

... oRtf:SetText(cRtf) oRtf:SetFontName("Ms Sans Serif") oRtf:SetFontSize(10) oRtf:bChange:={ || IF( oRtf:IsModify(), cRtf:=oRtf:SaveAsRTF(), ) } Eval( oRtf:bChange ) Saludos Fernando Espinoza A.
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: 1619

Consulta Sobre Richedi5 ??

... 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: 434

Re: Printing RTF 22.03

... Using the print object ( oPrn ), I am simply using the class directly. Also, I don't need MEMOREAD because the RTF is stored in that format using SaveAsRTF( ). Thus: cRTF := oEndText:tagtext  oPrn:SayText( nRow, 2*nCSP, cRTF, nCsp*80, nRsp * 6.1 )   does work properly. Here is ...
by TimStone
Tue Apr 12, 2022 2:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing RTF 22.03
Replies: 6
Views: 550

Re: RTF from Variable

Tim,

Alias->YourMemoField := oRichEdit:SaveAsRTF()
by Antonio Linares
Thu Dec 09, 2021 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4190

Re: RichType Print

Rick

oRTF:SaveAsRTF(), return all code RichEdit
oRTF:GetText(), return text

Sorry, I do not understand what you need
What do you want to save to the database?
by cnavarro
Thu May 11, 2017 5:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4248

Re: RichType Print

Rick Lipkin wrote:Cristobal

Using cLetter := oRtf:SaveAsRTF() ... then interrogating cLetter you get the output above with all the rtf encoding visible in the output.

Rick Lipkin


Rick
Then, I do not understand well your goal

If you save this code, you save text, format and any object included, no?
by cnavarro
Thu May 11, 2017 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4248

Re: RichType Print

Cristobal

Using cLetter := oRtf:SaveAsRTF() ... then interrogating cLetter you get the output above with all the rtf encoding visible in the output.

Rick Lipkin
by Rick Lipkin
Thu May 11, 2017 2:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4248

Re: Richedit( ) function problems

... DEFINE BUTTON oBtn OF oBar ; MESSAGE "Save a file" TOOLTIP "Save" NOBORDER ; ACTION If( ! Empty( bSave ), Eval( bSave, oRtf:SaveAsRTF() ),) ... ACTIVATE DIALOG oDlg CENTERED ; ON INIT ( BuildRichEditBar( oDlg, oMemo, { | c | cText := c } ), oDlg:ReSize() ) The missing bitmaps ...
by Antonio Linares
Sat Jun 25, 2016 8:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit( ) function problems
Replies: 27
Views: 6789

Re: Fivewin en version antigua (FW24)

... icon on a dialog box and then pressing on a control it is working ok now (invokes Method HelpTopic) for 32 bits. * Improved: New methods SaveAsRTF() and LoadAsRTF() for class TRichEdit only for 32 bits apps. You may review samples\TestRich.prg for a working sample. * Improved: Syntax ...
by cnavarro
Wed Jun 22, 2016 9:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fivewin en version antigua (FW24 xHarbour)
Replies: 28
Views: 5077

Re: question for trichedit

Silvio

SaveToFile method, use MemoWrite, and not use Methods SaveAsRTF and not use SaveToRTF

I misunderstood what you need?
by cnavarro
Sun Apr 24, 2016 10:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: question for trichedit
Replies: 10
Views: 2440

Re: richedit

Silvio,

what is SaveAsRTF() returning? Try

? VALTYPE( oRich:SaveAsRTF() )

and let me know.

EMG
by Enrico Maria Giordano
Sat May 30, 2015 5:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: richedit
Replies: 5
Views: 909

Re: richedit

Silvio,

did you try SaveAsRTF() method?

EMG
by Enrico Maria Giordano
Sat May 30, 2015 2:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: richedit
Replies: 5
Views: 909

Re: Problem with a Memo record

I use

@ 90,110 RICHEDIT aGet[3] VAR MM->MESSAGE of oDlgModelli PIXEL SIZE 100,100

and I tried to usse fonts and other effect

How I can save the MM->MESSAGE ?

I tried with
aget[3]:Saveasrtf()
by Silvio.Falconi
Fri May 29, 2015 8:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with a Memo record
Replies: 6
Views: 1161

Re: Inserir linha en richedit pelo codigo

... incluye este texto "<data>" y dale el font y atributos que quieras. Y desde tu código haz esto: oRich:LoadRTF( StrTran( oRich:SaveAsRTF(), "<data>", Date() ) ) Para unir el texto RTF de dos controles RichEdit haz esto: oRichEdit1:LoadRTF( oRichEdit1:SaveAsRTF() ...
by Antonio Linares
Tue Jan 06, 2015 7:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inserir linha en richedit pelo codigo
Replies: 5
Views: 727
Next

Return to advanced search