Search found 82 matches: otext

Return to advanced search

Re: Create a Panel width a text

... hDC, cText, oFont, nWidth ) corrected by Nageswarao On your sample: oPaneltext cannot be the same name of a Panel I propose to usare oTExt MEMOTEXT := alltrim( cMsg ) @ oPanel2:nTitleHeight+5, 10 GET oText VAR MEMOTEXT SIZE oPaneltext:nWidth-2, oPaneltext:nHeight-40 PIXEL MEMO NO ...
by Silvio.Falconi
Mon Feb 26, 2024 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3185

IMPRESION ARCHIVOS PDF

... DEFINE DIALOG oIndex TITLE "Generado Facturas en PDF" FROM 1,1 TO 3,40 @0,2 SAY oText PROMPT xsay OF oIndex COLOR CLR_HBLUE Font m->oFontFis ACTIVATE DIALOG oIndex NOWAIT CENTER do while !eof() xnum:=99->numero VTA1100PE() ...
by pedroluis
Mon Oct 02, 2023 3:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION ARCHIVOS PDF
Replies: 27
Views: 1592

XML, CON ARCHIVO ADJUNTO PDF

... largo:=pdfend-pdfin resp:=substr(response,pdfin,largo+4) cFilename:="texto.pdf" * Grabo el Archivo PDF ferase(cfilename) oText:= TTxtFile():New( cfilename ) if oText:Open() oText:add(alltrim(resp)) endif oText:close()
by elmoiquique
Thu Sep 28, 2023 10:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2282

Re: read a big xml file

kajot wrote:How can I use
oText:ReadLine()

with
TXmlDocument():New( )

KAJOT

what do you need to use that for?
by cnavarro
Sun Jun 25, 2023 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: read a big xml file
Replies: 11
Views: 718

Re: read a big xml file

How can I use
oText:ReadLine()

with
TXmlDocument():New( )

KAJOT
by kajot
Sun Jun 25, 2023 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: read a big xml file
Replies: 11
Views: 718

Re: Fivewin OOP Question

hi, Of course: oText_2 is not a property of oASKFORM, it is a local variable! right but i use "OF" which work under HMG "as expect" using "semi-OOP" Syntax I think you should have to carefully read a good book about OOP. :-) sorry, it work that Way under Xbase++ and HMG...
by Jimmy
Sun Nov 06, 2022 12:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin OOP Question
Replies: 11
Views: 431

Re: Fivewin OOP Question

Jimmy wrote:so i try just
Code: Select all  Expand view
  xxx := ::oASKFORM:oText_2

but still got
Message not found: TWINDOW:OTEXT_2


Of course: oText_2 is not a property of oASKFORM, it is a local variable! I think you should have to carefully read a good book about OOP. :-)
by Enrico Maria Giordano
Sun Nov 06, 2022 12:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin OOP Question
Replies: 11
Views: 431

Re: Fivewin OOP Question

hi Enrico, Ok, understand so i have to make a own CLASS and use CLASS Code / DATA when i do not want to pass Parameter --- have forgot to say that i have DATA oASKFORM and made this   ::oASKFORM := oASKFORM but still my Question about Object and "OF Parent" when assign Object to a Parent, ...
by Jimmy
Sun Nov 06, 2022 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin OOP Question
Replies: 11
Views: 431

Re: Fivewin OOP Question

No, oASKFORM, oText_2 and cTargetDir are independent variables. Please note that you should define LOCAL oASKFORM too.
by Enrico Maria Giordano
Sun Nov 06, 2022 10:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin OOP Question
Replies: 11
Views: 431

Fivewin OOP Question

hi, when using #xCommand Syntax in CLASS like this LOCAL oText_2, cTargetDir   DEFINE WINDOW oASKFORM FROM 0,0 TO 270, 534 PIXEL TITLE cAction   @ 110,10 GET oText_2 VAR cTargetDir SIZE 500,30 PIXEL FONT oFontDefault OF oASKFORM  will VAR "cTargetDir" be Property of oText_2 :?: if YES can ...
by Jimmy
Sun Nov 06, 2022 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin OOP Question
Replies: 11
Views: 431

Re: Problem with TTitle class

... mouse or keyboard cursors I can scroll it but the scroll at left of the control not run Your test local cMessage:=Memoread(cFiletxt) @ 35, 4 GET oText VAR cMessage OF oDlg ; :?: placed inside the main-dialog see my first get MEMO READONLY COLOR CLR_BLUE SIZE 300, 100 PIXEL I added some tests ...
by ukoenig
Tue Jan 28, 2020 7:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TTitle class
Replies: 5
Views: 1360

Re: Problem with TTitle class

... with the mouse or keyboard cursors I can scroll it but the scroll at left of the control not run local cMessage:=Memoread(cFiletxt) @ 35, 4 GET oText VAR cMessage OF oDlg; MEMO READONLY COLOR CLR_BLUE SIZE 300, 100 PIXEL https://i.postimg.cc/d0cS9zHM/scr.jpg I tried also with ...
by Silvio.Falconi
Tue Jan 28, 2020 4:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TTitle class
Replies: 5
Views: 1360

Re: Is there a way to change message in MsgMeter?

... for your kind responses. Sorry, but I meant without using a dialog, only the advantages of MsgMeter (if there is a simple way). There is also a oText and oDlg object there, so maybe... You cannot beat one line of code with at least 20 lines of creating and administrating yourself a dialog :( ...
by ellano
Thu May 30, 2019 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Is there a way to change message in MsgMeter?
Replies: 6
Views: 751

Color error in tPrinter.prg

If you use SAY( x,y, oText, oFont, nWidth, nClrText ) in tPrinter, and specify a nClrText, it should be used only for that oText specified, and return to default. Instead, any further calls where nClrText is not specified will print ...
by TimStone
Thu Mar 21, 2019 6:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color error in tPrinter.prg
Replies: 2
Views: 417

Re: MsgMeter

... from: Source\LisCap.prg => (b)MSGMETER( 347 ) Estoy llamando desde la function LisCapFis() ACTION ( if( nOpcion = 1, ; MsgMeter( { | oMeter, oText, oDlg, lEnd | EmiRepMar(oMeter, oText, oDlg, @lEnd) },, ), ; MsgMeter( { | oMeter, oText, oDlg, lEnd | EmiRepRef(oMeter, oText, oDlg, @lEnd) },, ...
by juan_arroyo_t
Sun Oct 07, 2018 5:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MsgMeter
Replies: 9
Views: 1588
Next

Return to advanced search