Search found 15 matches: isrtf

Return to advanced search

New FTDN April/Abril 2016 (FWH 16.04)

... METHOD InvMinMay() // Invert Lower -> Upper and Upper -> Lower 5) METHOD InsertTable() Insert table and dialog configuration table 6) METHOD IsRTF() // if any file is RTF or not 7) METHOD SetSubInd( lOnOff ) 8) METHOD SetSuperInd( lOnOff ) 9) METHOD GetParaFormat( lInfo ) 10) METHOD SetParaFormat( ...
by Antonio Linares
Thu May 12, 2016 6:51 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2016 (FWH 16.04)
Replies: 8
Views: 7580

Re: Richedit difference between wordpad to FW

... METHOD InvMinMay() // Invert Lower -> Upper and Upper -> Lower 5) METHOD InsertTable() Insert table and dialog configuration table 6) METHOD IsRTF() // if any file is RTF or not 7) METHOD SetSubInd( lOnOff ) 8) METHOD SetSuperInd( lOnOff ) 9) METHOD GetParaFormat( lInfo ) 10) METHOD SetParaFormat( ...
by cnavarro
Wed May 04, 2016 11:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit difference between wordpad to FW
Replies: 11
Views: 2101

Re: Colocar Negrilla en mitad del texto

Dear Antonio,
can you please help to Change this pseudocode

if isrtf( cText )
oRTF:print
else
TextOut( ::oPrn:hDCOut, nRow, nCol, cText )
endif

in valid FW code.
Thanks in advance
Otto
by Otto
Sun Jul 26, 2015 9:07 pm
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Colocar Negrilla en mitad del texto
Replies: 19
Views: 8432

Re: Colocar Negrilla en mitad del texto

Hello, maybe we can extend method say Pseudocode if isrtf( cText ) oRTF:print else TextOut( ::oPrn:hDCOut, nRow, nCol, cText ) endif Best regards, Otto METHOD Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) CLASS VRD IF ::oPrn:hDC ...
by Otto
Fri Jul 24, 2015 9:35 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Colocar Negrilla en mitad del texto
Replies: 19
Views: 8432

Re: Error en xBrowse con ADO

... usas el setcheck if ValType( cData ) != 'C' cData := cValToChar( cData ) endif if ! Empty( ::nDataStrAlign ) cData := AllTrim( cData ) endif if isrtf( cData ) cData := "<RichText>" elseif isGtf( cData ) cData := GtfToTxt( cData ) endif else cData := "" endif
by Pedro
Sat Apr 14, 2012 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en xBrowse con ADO (Solucionado)
Replies: 1
Views: 1961

Richedit text from a string

... (cText)  // does not workoRTF:Refresh()//oRtf:LoadFromRTFFile( "Register.rtf" )  / from a file it is working IsRTF (cText) returns .t., but it´s only working if I load it from a file. Any help appreciated
by StefanHaupt
Sun Jan 08, 2012 2:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit text from a string
Replies: 5
Views: 1130

Re: New FTDN April/Abril 2011 (FWH 11.04)

... para evaluar el bloque de código bChanged, por defecto es TRUE (Compatibilidad con versiones anteriores). * Mejora: Se ha mejorado la función IsRtf() en gtf.prg. * XBROWSE: Correcciones: (a) Corrección en el método nWithChr() en xbrowse.prg para evitar errores en tiempo de ejecución con datos ...
by Antonio Linares
Tue May 03, 2011 11:09 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2011 (FWH 11.04)
Replies: 1
Views: 1991

New FTDN April/Abril 2011 (FWH 11.04)

... Class DBCombo, SetItems recive a lChanged parameter, flag to evaluate codeblock bChanged, by default is true (compatibility with old versions) * IsRtf() function in gtf.prg improved. * XBROWSE: Fixes: (a) Fix in method nWidthChr in xbrowse.prg to avoid runtime errors with invalid data in some ...
by Antonio Linares
Thu Apr 28, 2011 8:39 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2011 (FWH 11.04)
Replies: 1
Views: 1991

xbrowse - isrtf()

... que inicien con el TEXTO "RTF" al mostrarlo en el xbrowse, simplemente sale una leyenda <RitchText>. Como funciona la funcion isrtf()? Solo pasa cuando el texto "RTF" está al inicio del campo. Alguna ayuda?
by wmormar
Thu Oct 28, 2010 1:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse - isrtf()
Replies: 0
Views: 273

Posible corrección a isrtf()

... el mensaje <RichText> esto pasa porque hay una función que valida si es o no RichText. Está es la función que hace el display function IsRTF( cText ) return (Upper( SubStr( cText, At( "\rtf", cText ) + 1, 3 ) ) == "RTF") Y ...
by wmormar
Wed Jul 08, 2009 6:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Posible corrección a isrtf()
Replies: 0
Views: 318

Re: Ayuda o ejemplo de Listbox o xBrowse con check box...

Otto, Please check that you have this code in Class TXBrowse: (search for "isrtf" in xbrowse.prg) if ::bStrData != nil cData := Eval( ::bStrData ) if ValType( cData ) != 'C' cData := cValToChar( cData ) endif if ! Empty( ::nDataStrAlign ...
by Antonio Linares
Sun Jan 25, 2009 7:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda o ejemplo de Listbox o xBrowse con check box...
Replies: 7
Views: 2551

samples\inspect.prg doesn't work

... Argument error: AT Args: [ 1] = C \rtf [ 2] = N 32 Stack Calls =========== Called from: => AT(0) Called from: .\source\function\GTF.PRG => ISRTF(0) Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:PAINTDATA(0) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT(0) ...
by gkuhnert
Fri Sep 19, 2008 11:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: samples\inspect.prg doesn't work
Replies: 2
Views: 487

Error al refrescar un objeto Say en la 807

... error: AT Args: [ 1] = C \rtf [ 2] = A { ... } Stack Calls =========== Called from: => AT(0) Called from: .\source\function\GTF.PRG => ISRTF(0) Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:PAINTDATA(0) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT(0) ...
by fleal
Tue Jul 29, 2008 8:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al refrescar un objeto Say en la 807
Replies: 2
Views: 498

The function IsRTF() works.
Seems you have already done displaying RTF in xbrowse cell. Is it the same code you are using? Can you post your full code for display of rtf ?
by nageswaragunupudi
Tue Mar 25, 2008 10:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser + RTF
Replies: 13
Views: 4311

Maybe someone can help - Does "IsRTF()" work? I saw the function in fget class. - What does TRichEdit need as a container? Regards, Otto method paintdata ... if IsRTF( cdata ) ??? define a window without frame from {nRow, nCol, nRow + nHeight, ...
by Otto
Sat Feb 02, 2008 4:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser + RTF
Replies: 13
Views: 4311

Return to advanced search