Search found 64 matches: orich

Return to advanced search

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 + ...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 521

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 + ...
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: 287

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

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

Save richedit to field

... in richedit, and than save it to a database field. Later I want to be able to edit again, but I cound wake it work. I get the text with vtext = oRich:SaveAsRTF Than save it repl tekstlengt with HB_CompressBuflen( Len( vtext ) )repl tekst      with HB_Compress( vtext ) ...
by Marc Vanzegbroeck
Sat Jul 27, 2019 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save richedit to field
Replies: 1
Views: 416

Re: Consulta RICHEDIT

... todo el contenido de la DBf y tu Texto enriquecido. De aqui en adelante solo muestra tu texto. DEFINE DIALOG oDlg RESOURCE "Test" oRich = TRichEdit():Redefine( 100, bSETGET( cTxt ), oDlg ) oRich:lHighLight = .T. Esta claro que es el contenido de la DBF. Esta DBF tiene 2 campos: ...
by remtec
Sat Feb 16, 2019 4:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta RICHEDIT
Replies: 30
Views: 5431

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

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

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

Re: Inserir linha en richedit pelo codigo

William, En tu texto richedit 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( ...
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: 861

Re: Inserir linha en richedit pelo codigo

William, If your RTF text ends with "text." then you can do: oRich:LoadRTF( StrTran( oRich:SaveAsRTF(), "text.", "text. Hello world" ) ) There are other ways to do it. In order to learn where to insert the text do this: MsgInfo( ...
by Antonio Linares
Tue Jan 06, 2015 10:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inserir linha en richedit pelo codigo
Replies: 5
Views: 861

Inserir linha en richedit pelo codigo

Hola

Existe alguma forma de acrescentar una linha de texto en uno richedit , mas por codigo e non pelo Teclado ?

Ja tentei oRich:ctext = oRich:ctext +"Exemplo"

isto funciona, pero la linea acrescentada perde la font e sizes inicialmente ajustados.

Gracias

William
by WilliamAdami
Tue Jan 06, 2015 12:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inserir linha en richedit pelo codigo
Replies: 5
Views: 861

Re: Memoedit

... example in SAMPLES with RTF from resources is TESTRICH.PRG but does not use RICHEDIT.CH It compiles and runs OK. If RICHEDIT.CH is included and: oRich = TRichEdit():Redefine( 100, { || "" }, oDlg ) is changed to: REDEFINE RICHEDIT oRich ID 100 OF oDlg the program compiles but aborts ...
by Euclides
Thu Mar 20, 2014 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memoedit
Replies: 29
Views: 6823

Re: RPreview mal en xp

Antonio, Creo saber cuando se ocasiona el fallo. Yo hago oRich:preview("Presupuesto") y algunos los puedo exportar perfectamente a PDF, pero si el Rich tiene más de quince líneas AHÍ SE CUELGA el exportar a PDF . De lo anterior, deduzco que ...
by rolando
Thu Oct 10, 2013 1:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPreview mal en xp - SOLUCIONADO (a medias)
Replies: 52
Views: 13107

Re: bug FWH TRichEdit() Font unreleased

To temporarly solve it, simply do:

ACTIVATE DIALOG oDlg CENTERED

oRich:oFont:End()
by Antonio Linares
Tue Aug 13, 2013 12:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug FWH TRichEdit() Font unreleased
Replies: 3
Views: 590
Next

Return to advanced search