Search found 32 matches: orichedit

Return to advanced search

Re: Tables in RichEdit5

Dear Yuri,

oRichEdit:hWnd is hRichEdit

We need to adapt that code to FWH. We are going to try it... :-)
by Antonio Linares
Mon Jul 17, 2023 11:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tables in RichEdit5
Replies: 4
Views: 210

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

Re: How to obtain plain text from a RTF control?

hua wrote:Which DATA or METHOD in a rtf class should be used to get the content in plain text (without changing the actual content)?
TIA


Have you tried using oRichEdit:GetText() ?
by Antonio Linares
Wed Dec 28, 2022 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 410

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

Re: Richedit5 SendMsg

Sebastian,

Prueba PostMsg() en vez de SendMsg()

Prueba tambien con:
orichedit:SendMsg( EM_SETTOUCHOPTIONS, 1, 1 ) // ya que el tercer parámetro tiene que ser numérico
by Antonio Linares
Thu Aug 12, 2021 5:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Richedit5 SendMsg
Replies: 5
Views: 760

Re: Richedit5 SendMsg

... he intenado: #DEFINE EM_SETTOUCHOPTIONS 1335 #DEFINE EM_GETTOUCHOPTIONS 1334 orichedit:SendMsg( EM_SETTOUCHOPTIONS, 1, .t. ) sin embargo no hace nada, le pido que me devuelva el valor: nvalor := orichedit:SendMsg( EM_GETTOUCHOPTIONS, ...
by Sebastián Almirón
Thu Aug 12, 2021 9:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Richedit5 SendMsg
Replies: 5
Views: 760

Re: Quien me puede aclarar esta Duda.

... ::oWnd != nil, ::oWnd:hWnd, 0 ), ;                                ::nId,, ::nExStyle )  oWnd:hWnd,oDlg:hWnd,oButton:hWnd,oXbrowse:hWnd... oRichedit:hWnd IsSelection() Me imagino que es una data de la clase que nos permite saber si hay un bloque de texto seleccionado o no. METHOD IsSelection() ...
by carlos vargas
Sat Mar 09, 2019 12:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Quien me puede aclarar esta Duda IMPRIMIR MAS De Una Pagina
Replies: 11
Views: 1711

Re: TxtToRTF()

Hi everyone; oRichEdit:GetText() Yes GetText() method works best but requires to initialize the object which will require a dialog or window. When working on the background , when pulling text from a Blob field or when no RichText ...
by reinaldocrespo
Thu Jan 15, 2015 6:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TxtToRTF()
Replies: 18
Views: 3297

Re: TxtToRTF()

Günther,

If you want to convert a RTF into standard text, then using a RichEdit control, you could do this:

oRichEdit:LoadRTF( cRTFText ) // RTF

MsgInfo( oRichEdit:GetText() ) // standard text
by Antonio Linares
Wed Jan 14, 2015 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TxtToRTF()
Replies: 18
Views: 3297

Re: TRichEdit

Use oRichEdit:Colorize( nStart, nEnd, nColor )
by Antonio Linares
Fri Nov 29, 2013 8:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TRichEdit
Replies: 8
Views: 1471

Re: richedit con tabulador (desde recursos), ¿como?

Aunque lo más práctico sería añadir una nueva DATA a la Clase TRichEdit lWantTab para que sea tan sencillo como:

oRichEdit:lWantTab = .T.

sin necesidad de tocar los fuentes de FWH :-)
by Antonio Linares
Mon Jul 15, 2013 8:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: richedit con tabulador (desde recursos), ¿como?
Replies: 15
Views: 2066

Re: richedit con tabulador (desde recursos), ¿como?

Rolando,

Una vez hagas REDEFINE RICHEDIT ... a continuación haz:

#define DLGC_WANTTAB 0x0002

oRichEdit:nDlgCode = DLGC_WANTTAB
by Antonio Linares
Sun Jul 14, 2013 6:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: richedit con tabulador (desde recursos), ¿como?
Replies: 15
Views: 2066

Re: RichEdit - how to position in a column

oRichEdit:SetPos( oRichEdit:SendMsg( EM_LINEINDEX, nLine, 0 ) + nColumn )
by Antonio Linares
Thu Mar 28, 2013 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichEdit - how to position in a column
Replies: 2
Views: 569

Re: RichEdit - how to capture the line

resolved: oRichEdit:getline()
by MGA
Mon Mar 25, 2013 1:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichEdit - how to capture the line
Replies: 5
Views: 813

Re: RichEdit

Please try with:

oRichEdit:Print( "document_name" )
by Antonio Linares
Fri Mar 08, 2013 10:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichEdit
Replies: 9
Views: 2261
Next

Return to advanced search