Search found 102 matches: gettext

Return to advanced search

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

Re: simulate a read

I made also : aGet[11]:Show() aGet[11]:SetFocus() aGet[ 11 ]:bValid := { | o | ! Empty( o:GetText() ) } the final use cannot use combobox and other gets controls but if press on xbrowse ( edit_get) columns the aget[11] lose the setfocus and the final user can edit the ...
by Silvio.Falconi
Fri Nov 14, 2014 9:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: simulate a read
Replies: 10
Views: 1486

Re: simulate a read

Silvio,

try it this way:

aGet[ 11 ]:bValid := { | o | ! Empty( o:GetText() ) }
by Antonio Linares
Fri Nov 14, 2014 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: simulate a read
Replies: 10
Views: 1486

Re: Soporte de unicode en FWH 14.09

... La función GetWindowTextW() es muy importante pues es la función que se llama cuando hacemos oControl:GetText() si la DATA lUnicode es .T. Una vez solucionemos eso, podremos continuar con el soporte de Unicode. Agradezco tu ayuda y la de cualquier otro ...
by Antonio Linares
Mon Oct 13, 2014 9:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Soporte de unicode en FWH 14.09
Replies: 6
Views: 704

Re: Unicode support in FWH 14.09

... are a making a very good progress with it, but I have found a simple problem that I can't solve yet. See how I modified the Method SetText() and GetText() in Class TWindow:   METHOD GetText() INLINE If( ! ::lUnicode, GetWindowText( ::hWnd ),;        ...
by Antonio Linares
Sun Oct 12, 2014 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode support in FWH 14.09
Replies: 18
Views: 5849

Para Antonio: ERROR COMPILACION GTAPI

Hola Antonio, Estoy cambiando de la version 7.01 A LA VERSION 14.02 de fwh, y al intentar compilar me marca esto Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_hb_gt_Init' referenced from C:\FWH1402\XHARBOUR\LIB\RTL.LIB|gtapi Error: Unresolved external '_hb...
by Laurel
Mon Mar 17, 2014 9:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Antonio: ERROR COMPILACION GTAPI
Replies: 2
Views: 1298

Re: Richtext like component

Hi Tim; To save the contents of the rtf being edited using the TRichEdit() class, you could use the GetText() method which returns the rtf. Here is sample code using pure harbour. aEval( ::aRtfs, { |e,n| iif( e:IsModify(), (   ;      iif( ::hSSCEDLL ...
by reinaldocrespo
Wed Dec 18, 2013 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richtext like component
Replies: 9
Views: 2826

Re: "Snap" for Clipper

...     1767 GETSYSCOLOR()          (function  in ?)    WINDOW.PRG      940  1120  1121 GETSYSFONT()           (function  in ?)    WINDOW.PRG     3325 GETTEXT()              (function  in ?)    WINDOW.PRG      626  1552  1886 GETTEXTALIGN()         (function  in ?)    WINDOW.PRG     2384 GETTEXTWIDTH() ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6790

Re: Clear Gets

Como te indica Marcelo, el código seria más o menos asi:

AEval( oDlg:aControls, { | o | If( Upper( o:ClassName() ) == "TGET", o:SetText( uValBlank( o:GetText() ) ),) } )
by Antonio Linares
Thu Jul 04, 2013 3:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clear Gets
Replies: 2
Views: 581

Re: extractor de texto de un PDF

El que lo lea es algo que no es necesario, lo hice solo por probarlo, con llamar a la funcion GetText() consigues que se cree el fichero de texto
by Antonio Linares
Mon Jun 10, 2013 11:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: extractor de texto de un PDF
Replies: 32
Views: 11577

Re: drag & drop box

Hello Antonio,
I tried your Suggestion.
I inserted a button like this:
REDEFINE BUTTONBMP ID 4002 OF oDlg ;
ACTION msginfo( oRich:gettext() )

When I drop files from Explorer oRich:gettext() is empty.
Best regards,
Otto
by Otto
Tue Jun 04, 2013 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: drag & drop box
Replies: 8
Views: 1641

Re: bug in FW 13.04 combobox

See this in line 814:

cRet := If( Empty( ::oGet:hWnd ), ::aItems[ nAt + 1 ], ::oGet:GetText() )
by Antonio Linares
Mon May 20, 2013 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug in FW 13.04 combobox
Replies: 82
Views: 29538

Re: bug in FW 13.04 combobox

... TComboBox local cRet, nAt := ::SendMsg( CB_GETCURSEL ) if nAt != CB_ERR ::nAt = nAt + 1 cRet := If( ::oGet == nil, ::aItems[ nAt + 1 ], ::oGet:GetText() ) //::OGET!!! else cRet := GetWindowText( ::hWnd ) endif return cRet
by byte-one
Mon May 20, 2013 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug in FW 13.04 combobox
Replies: 82
Views: 29538

Re: bug in FW 13.04 combobox

Lucas,

Fixed. In combobox.prg line 476:

Instead of:
Eval( ::bSetGet, If( ::oGet == nil, ::aItems[ nAt + 1 ], ::oGet:GetText() ) )

use:
Eval( ::bSetGet, GetWindowText( ::hWnd ) )

testcomb.prg and combos.prg are working fine :-)
by Antonio Linares
Sat May 18, 2013 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug in FW 13.04 combobox
Replies: 82
Views: 29538

Obtener el caption de un say desde recursos (Solucionado)

... estos, pero no me funcionan: REDEFINE SAY oSay ID 4014 OF oDlg ... MsgInfo(oSay:cCaption) MsgInfo(oSay:cPrompt) MsgInfo(oSay:cText) MsgInfo(oSay:GetText()) ¿Es posible? Saludos.
by FranciscoA
Wed May 08, 2013 12:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Obtener el caption de un say desde recursos (Solucionado)
Replies: 10
Views: 1099
PreviousNext

Return to advanced search