topic
stringlengths
1
63
text
stringlengths
1
577k
About : tracing GDI resources
Rao, Uwe, It was a bug in Class TDialog. This is the fix <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [code=fw:137r4jel]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> End<span style="color: #000000;">&#40;</span> n...
About : tracing GDI resources
Many Thanks Mr. Antonio This is really a very important fix.
About : tracing GDI resources
There is still one Question about the BMP'S, defined for Folder-Tabs. After reopening a Dialog I can see, the 8 BMP's are doubled inside the List. Always 8 Times as BMP and 8 Times as PAL from : Dialog opened the first Time, Lines : 48 - 63 [img:19m72oom]http&#58;//www&#46;pflegeplus&#46;com/pictures/FolderTab1&#46;j...
About : tracing GDI resources
Uwe, Please modify Class TFolder Method Destroy() this way: [code=fw:3ce9szy7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> Destroy<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TFol...
About : tracing GDI resources
Antonio, Thank You very much. The Change works perfect. The Folder-Tab BMP's are not counted anymore. I still added a Main-Dialog-Counter. Brushes are excluded from the 1. Browser. Í'm working on a Solution, to show them inside a extra Browser. [img:2r0wauq4]http&#58;//www&#46;pflegeplus&#46;com/pictures/Foldtest1&#4...
About : tracing GDI resources
Uwe, Many thanks for your great feedback <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
About ADO & MySql
Dear friends:As a christmas gift, you can read in my spanish blog[url:kez4zq7s]http&#58;//sqlcmd&#46;blogspot&#46;com/[/url:kez4zq7s]all you need to start with ADO, MySql, xHarbour andour lovely FWH.Ahhh, no DbfsEnjoy it.Merry christmas
About ADO & MySql
Dear Armando,I really appreciate your effort. I am a frequent visitor in your blog and have learned a lot from your blog regarding the usage of MySQL with FWH.RegardsAnser
About ADO & MySql
[quote="Armando":drzflxzz]Dear friends: As a christmas gift, you can read in my spanish blog [url:drzflxzz]http&#58;//sqlcmd&#46;blogspot&#46;com/[/url:drzflxzz] all you need to start with ADO, MySql, xHarbour and our lovely FWH. Ahhh, no Dbfs Enjoy it. Merry christmas[/quote:drzflxzz]ArmandoCan this be provided in...
About ADO & MySql
Colin:I'm afraid not, because my english is not enought to do that. Perhaps somebody can make the translation.I'm so sorry.Regards
About BMP PNG
Guys, my doubt is quite impossible, but come to my dream.   Would you like to upload a png (obeying the transparencies image) on top of a bmp. (it's easy)   Difficult for me would be to do this in a progress, meter, or meterex know what else it.   Accepted @ x, y and 'REDEFINES'
About CheckRes()?
Hi, I want to use CheckRes() function but there is no result in checkres.txt. Is there any compiler switch for it? I use Harbour latest 2015.07 for vs2013 and fwh 1507. [code=fw:qjz9awjo]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #B900B9;">// program startup</span><br...
About CheckRes()?
Hakan, It means that your app is properly releasing all the resources <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> When checkres.txt is empty then it means all is ok
About CheckRes()?
[quote="Antonio Linares":2w5wab5m]Hakan, It means that your app is properly releasing all the resources <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> When checkres.txt is empty then it means all is ok[/quote:2w5wab5m] You are right if i call at the end of my applicatio...
About CheckRes()?
Hakan, > I have suspect there are some resources Why do you think so ?
About CheckRes()?
Hi Antonio, There are some procedures that works wery well. But after 1-2 hours from starting application, these procedures does not work. There is not any error. User exits the application and try to same procedures. The problems goes on. User reboot the computer, run application. There is no problem for 1-2 hours...
About CheckRes()?
Hakan, You can use SetResDebug( .T. ) and CheckRes() in just a portion of your app Do you allocate memory in some way in your app ? Do you manage bitmaps, fonts, etc ?
About CheckRes()?
Also, use Windows task manager to review the handles that your app is using: [img:3do78yr6]https&#58;//bitbucket&#46;org/fivetech/screenshots/downloads/handles&#46;JPG[/img:3do78yr6]
About CheckRes()?
[quote="Antonio Linares":zwliok8o]Hakan, You can use SetResDebug( .T. ) and CheckRes() in just a portion of your app Do you allocate memory in some way in your app ? Do you manage bitmaps, fonts, etc ?[/quote:zwliok8o] I dont allocate any memory in my application.
About FWSavePreviewToPDF
Hello Doesn't exist a way to convert an EMF to PDF but retaining original vector, text and graphics information <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> When use the FWSavePreviewToPDF function this convert the EML to JPG and then JPG into PDF, with this we...
About FWSavePreviewToPDF
Technically it must be possible, because there is a dll called "image2pdf" from Utilitywarrior (<!-- m --><a class="postlink" href="http://www.utilitywarrior.com/">http://www.utilitywarrior.com/</a><!-- m -->) that does exactly this. It also can be integrated into Fivewin applications, but I am also still hoping, this ...
About FiveWin ODBC
FW, May I know those who had experienced using FiveODBC. Thanks, Jose
About FiveWin ODBC
What I mean is how's the performance, specially with MS SQL server. Thanks.
About FiveWin ODBC
It works fine, but you should upgrade to FWH 32 bits, as it offers a much better integration with the operating system.
About FiveWin ODBC
Antonio, Our base code is in Clipper 5.2. I tried to convert them to xHarbour but there are issues like Telepathy lib which don't have 32 bits version and several C codes that generates errors, when linked. I looked for 32 bit version as you suggested but Extransensory Software do not have 32 bit version of Telepa...
About FiveWin ODBC
Jose, Have you checked at the ODBC database that there are more than one record matching that SQL sentence ?
About FiveWin ODBC
Antonio, Thanks for the quick reply. Yes, there are over 60 rows when I querry it from SQL.
About FiveWin ODBC
Jose after line oDbf:Open() you must add oDbf:Complete() regards Eugeniusz
About FiveWin ODBC
Eugeniusz, Thanks for the hint. It works. Regards, Jose
About METRO and MDI
Hello, I have a question about METRO and using MDI With my first tests, it works but closing a child doesn't return to button-level. I used oMetro:Show(), but doesn't work. [img:35yz2jiv]http&#58;//www&#46;pflegeplus&#46;com/pictures/metrodbu1&#46;jpg[/img:35yz2jiv] Closing the Child, returns to oMWnd. How to stay i...
About SQLMIX
someone used already tried to use, this DDD harbour
About SQLMIX
abandoned for not finding information.
About TCalendar
Hello, In our program we ask for a range di date, using 2 DatePicker, I would like change it using the [url=https&#58;//docs&#46;microsoft&#46;com/en-us/windows/win32/controls/month-calendar-controls:i4rog9ad]Month Calendar Control[/url:i4rog9ad] that is supported by FiveWin by the TCalendar class. What I saw, trying t...
About TCalendar
another problem: [code=fw:l2ge6j5d]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">Change</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TCalendar<br...
About TCalendar
Antonino, Many thanks for your feedback and help. It will be included in the next FWH build. We have implemented it this way: In class TCalendar: METHOD HandleEvent() VIRTUAL METHOD GetMinReqRect() INLINE MonthCal_GetMinReqRect( ::hWnd ) METHOD SizeRectToMin( aSize ) INLINE MonthCal_SizeRectToMin( ::...
About TCalendar
Hello Antonio, I'm afraid the class has several unpolished aspects. If you post the complete source code we can help you with the testing. Thank you!
About TCalendar
hello, here a modifed version of testcal.prg from sample folder [code=fw:bo36olq7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"dt...
About TCalendar
ops, there is a bug, bChange is called 2 time by Change method, here the fix: [code=fw:1ggtxmfb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">Change</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</...
About TCalendar
thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
About TCalendar
Hello, I share my Last test, where added [b:1f5ciicb]bViewChanged[/b:1f5ciicb] called when the view changes, [b:1f5ciicb]SetCurrentView[/b:1f5ciicb] and [b:1f5ciicb]GetCurrentView[/b:1f5ciicb] to set and get the current view. I tried to do a only month selection, but id does a little weird animation: [code=fw:1f5ciicb...
About TCalendar
Antonino, many thanks. We have included the new DATA and the new Methods SetCurrentView() and GetCurrentView() for the next FWH build When we run your posted code we get this: [img:3i9opots]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/antonino1&#46;JPG?raw=true[/img:3i9opots]
About TCalendar
I just re-try with FiveWin 18.01 [img:m6mopnik]https&#58;//i&#46;imgur&#46;com/lbdqUqy&#46;png[/img:m6mopnik] in your screenshot these lines are not executed: [code=fw:m6mopnik]<div class="fw" id="{CB}" style="font-family: monospace;">      rc := MonthCal_SizeRectToMin<span style="color: #000000;">&#40;</span> ::<span ...
About TCalendar
A question.. I have the calendar on my Project as you see on this picture I use sample01.prg , if I resize the splitter on right [img:1j3wy5op]https&#58;//i&#46;postimg&#46;cc/ryHCtp2L/agenda2&#46;jpg[/img:1j3wy5op] I wish the calendar resize until the splitter, showing 3 months per row or depending on the space ...
About TCalendar
I tried oPanel := ::oExBar:AddPanel( Upper( "Jump To Date" ), "d:\fwh\bitmaps\32x32\calendar.bmp", 480 ) // @ 40, 15 CALENDAR ::oDtPick VAR ::dDateStart OF oPanel PIXEL SIZE 220, 157 WEEKNUMBER DAYSTATE [b:k4q7ewpe] ::oDtPick := MyCalendar():New( 40, 10, { | u | If( PCount()==0, ::dDateStart, ::dDateStart:= u ...
About TCalendar
Now I tried with ::oDtPick := MyCalendar():New( 30, 1, { | u | If( PCount()==0, ::dDateStart, ::dDateStart:= u ) }, nil,oPanel, 200, 160,,,,, .F.,, .T.,, .F., .F.,,,,,, .F., .T., .T., .F. ) ::oDtPick:bViewChanged := {|Self,nOld,nNew| iif(nNew<MCMV_YEAR,::SetCurrentView(MCMV_YEAR),) } ::oDtPick:bChange = ...
About TCalendar
the test of Antonino run ok I add resizable system to resize the calendar [img:1u1svfhd]https&#58;//i&#46;postimg&#46;cc/XYwGrfYL/jkk&#46;gif[/img:1u1svfhd] [code=fw:1u1svfhd]<div class="fw" id="{CB}" style="font-family: monospace;">    <span style="color: #00D7D7;">#include</span> <fivewin.ch><br />    <span style...
About TCalendar
Antonino, function MonthCal_SizeRectToMin() seems not to be working at all, in example: rc := MonthCal_SizeRectToMin( ::hWnd, { 1, 1, 20, 20 } ) XBrowse( rc ) // you get { 1, 1, 20, 20 } It seems to be working fine this way: rc := MonthCal_GetMinReqRect( ::hWnd ) XBrowse( rc )
About TCalendar
I see, it works only on Vista and later, are you trying with win 7? see requirement section on [url:2h9p7y2g]https&#58;//docs&#46;microsoft&#46;com/en-us/windows/win32/api/commctrl/nf-commctrl-monthcal_sizerecttomin[/url:2h9p7y2g]. It is a shame,
About TCalendar
Antonino, We have modified methods New() and Initiate() using this code: [code=fw:2zq4hqnz]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; aRect = MonthCal_GetMinReqRect<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><b...
About TMeterEx - Gradient
Daniel, I did some Tests ( changes ) with Class TMeterEx, to create a Vertical running Gradient. It works, but stops at the End at Center ( must be complete Green ). Is it possible to add this Function to the Class ? [img:3pj8s4s9]http&#58;//www&#46;pflegeplus&#46;com/pictures/meter1&#46;jpg[/img:3pj8s4s9] @ 280, 40...
About TMeterEx - Gradient
Uwe sure... please send me the class modified...
About TMeterEx - Gradient
Daniel, I only changed the 2 Gradientlines in Method PAINT and defined the Start Gradient ( posted above ). Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
About TMeterEx - Gradient
Daniel, maybe a better looking Solution for a colored Meter : using Your TSelex-class ( works the same ) moving the Button in Relation to a Counter ? [img:2ijhcksu]http&#58;//www&#46;pflegeplus&#46;com/pictures/meter2&#46;jpg[/img:2ijhcksu] [code=fw:2ijhcksu]<div class="fw" id="{CB}" style="font-family: monospace;"...
About UNICODE
Hi Antonio, I saw new FWH902 below: [quote:3jx7aggx] * Enhancement: More changes in several classes for Unicode support. Modified Classes: TButton, TComboBox, TControl, TDialog, TListBox, TSay, TWindow, TBar. [/quote:3jx7aggx] This version support input Chinese with Themes and show Chinese UNICODE words? Any EXE samp...
About UNICODE
Richard, We are implementing many changes to have full unicode support soon, but it is not fully available yet.
About UNICODE
[quote="Antonio Linares":25j0zz0f]We are implementing many changes to have full unicode support soon, but it is not fully available yet.[/quote:25j0zz0f] Dear Antonio, this is a big notice. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> There is a prevision for the...
About UNICODE
Antonio, Half year has pasted, how about Unicode support progress? Regards.
About UNICODE
We are delayed, our apologizes <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> We have been very busy on many new developments, but we promise that we will offer FWH with unicode. Hopefully this same year <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="...
About UNICODE
Antonio, FWH newest version is 10.3, but still not yet support unicode <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> ??
About UNICODE
No, not yet
About asort
Hi all, I need to order a multidimensional array with two criterias. Is there a way to make an order this I use for a dbf sort on lb02/a,lb11/a to &filelb on an Array using asort ? Thanks in advance.
About asort
Marco, Maybe this old message will help. James ---------------------------------------- From: "Victor Spiridonov" <dicch@mail.ru> Subject: Re: Sorting multidimensional array Date: Wednesday, November 05, 2003 11:06 PM "Stephen Quinn" <steveqNOSPAM@integritynet.com.au> wrote in message news:<bobukt$1d6h8g$1@ID-88745...
About asort
Hello Marco, [quote="Marco Turco":1bf4hu1r]Hi all, I need to order a multidimensional array with two criterias. Is there a way to make an order this I use for a dbf sort on lb02/a,lb11/a to &filelb on an Array using asort ?[/quote:1bf4hu1r] ASORT(<aTarget>, [<nStart>],[<nCount>], [<bOrder>]) --> aTarget The t...
About asort
It runs well. Thank you Carlos.
About box
Guys: What would be the easiest way to build an about box for a program ? Alert, a dialog, MsgInfo, etc ? I'd tried using a Dialog and the CENTER() function for each SAY but the text does not get centered. Any ideas ? Thank you.
About box
I think a VTitle can do the Job : [img:30i2oe97]http&#58;//www&#46;pflegeplus&#46;com/pictures/about&#46;jpg[/img:30i2oe97] [color=#0000FF:30i2oe97] @ 15, 15 BUTTON "&About" SIZE 100,50 OF oWnd1 PIXEL ; FONT oFont1 ; ACTION SHOW_TITLE(oWnd1, 100, 100) // ----------------- FUNCTION SHOW_TITLE(oContrl, nTop, nLeft...
About box
Uwe: Thank you for your answer. The compiler gives me an error with the @ nTop, nLeft TITLE, TITLEIMG, TITLETEXT commands. I'm using FWH 10.6. Can the TITLE control be centered no matter the screen resolution ? Thank you my friend. Gustavo
About box
There is a built-in FWH function MsgAbout( cAbout, cCopyRight ) This function uses the standard Microsoft Windows About dialog, which looks like any other standard about dialog of other windows software.
About box
Rao: Thank you for your response. Can MsgAbout() display more than one line ?
About box
I don't know whether it differs by region but MsgAbout() on my PC would show everything belongs to Microsoft. Clicking on the End-User License Agreement seems to bring up standard Microsoft's EULA. Might be better to spend some time and write your own About dialog box for full control. [img:fdeh76fo]http&#58;//img98&#...
About box
Hua: Thank you for your response. Same results here. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
About box
In case, You agree with a VTitle-solution, just give me a little bit Time and we will have a nice visual painter for it, that will create a working EXE-file of the Results. The Message will have a Headline, Image and up to 5 Textlines. You can test the Message on any Position and Window-background. The Main-window in...
About box
Uwe: Great idea and visuals ! I can't wait to test your solution. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> PD.: Does the @ x,y TITLE, TITLEIMB, TITLETXT works in FWH 10.06 or do I have to upgrade ?
About box
Gustavo, I think Your Version will work [color=#FF0000:27ig1pu6]10.6[/color:27ig1pu6] Have a look at : [color=#0000FF:27ig1pu6]\samples\testtitl.prg [/color:27ig1pu6] Last changes of VTiles [color=#FF0000:27ig1pu6]10.4[/color:27ig1pu6] : April 2010 ========== ..... ..... * New: Class TTitleText to use in class TTI...
About box
Uwe: The first example worked ok. Now, how do I close the Vtitle ? Thank you. PD: Your prototypes look awesome !
About box
Gustavo, Include a Button to the Function. The Position is calculated to the Right- / Bottom-corner : [color=#0000FF:1wiq24yk]@ nHeight - 40, nWidth - 45 BUTTON "&OK" SIZE 40,30 OF oBar1 PIXEL ; FONT oFont1 ; ACTION oBar1:End()[/color:1wiq24yk] In case You don*t want a extra Button, You can use the ACTION of the In...
About box
Uwe: Great job ! How can I download the painter ?
About box
Gustavo, there is still something to do. As more time I work on it, I getting more and more Ideas. Funny Things can be done. I think it will be ready next week for Download. There will be a extra Toppic < Message paint > I think without a visual Preview in Realtime, it would be a hard Job, to get the desired Result. ...
About combobox
Why combobox (DropDown List) dont display selected dot lines? if they give focus i use the arrows up and down and the elements changes but dont display a dot lines, in this case is too dificult to knows where is the focus. Thanks in advance.
About copyfile: checking results
Hi,I use in my app (FWH 8.05) the function CopyFile (<orig.file>,<dest.file>,.f.) to make a backup of some archive files.The problem is that I have a customer where some files are (randomly) not copied. I cheked that copyfile return (.f.) on those files so an error occurred.I would like have an extended error code (lik...
About copyfile: checking results
Marco,Use GetLastError()<!-- m --><a class="postlink" href="http://msdn.microsoft.com/en-us/library/ms679360(VS.85">http://msdn.microsoft.com/en-us/library/ms679360(VS.85</a><!-- m -->).aspx
About copyfile: checking results
I tracked the COPYFILE function errors using GetLastError() and an 1006 error appairs randomly copying files from an hard disk to a pen drive.This is the Microsoft error code:---ERROR_FILE_INVALID10060x3EE The volume for a file has been externally altered so that the opened file is no longer valid.---Is there anyone th...
About copyfile: checking results
I use CopyFile() intensively to copy from hard disk to USB devices and never noticed any problems. This is the CopyFile() definition I'm using:[code:28t3avu2]DLL32 FUNCTION COPYFILE&#40; cExistingFileName AS LPSTR, cNewFileName AS LPSTR, lFailIfExists AS LONG &#41; AS BOOL; PASCAL FROM "CopyFileA" LIB "kernel32&#...
About copyfile: checking results
[quote="Enrico Maria Giordano":2r62rvgm]I use CopyFile() intensively to copy from hard disk to USB devices and never noticed any problems. This is the CopyFile() definition I'm using: [code:2r62rvgm]DLL32 FUNCTION COPYFILE&#40; cExistingFileName AS LPSTR, cNewFileName AS LPSTR, lFailIfExists AS LONG &#41; AS BOOL; ...
About copyfile: checking results
Sorry, I can't imagine why a simple API would GPF...EMG
About copyfile: checking results
Enrico,It seems as there is no a GPF but an error returned code.Marco, maybe you could try it for n times, in case that another try is able to do it.
About copyfile: checking results
Ops! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->EMG
About copyfile: checking results
[quote="Antonio Linares":2dkd2c91]Enrico, It seems as there is no a GPF but an error returned code. Marco, maybe you could try it for n times, in case that another try is able to do it.[/quote:2dkd2c91]Yes, in the meantime I asked the customer to format this pen drive and if the problem still remains I will try the c...
About copyfile: checking results
Marco,You might also suggest that your customer try another pen drive--the one they are using could be defective.James
About copyfile: checking results
Marco,I had a problem with USB drive on my VISTA PC, too.<!-- m --><a class="postlink" href="http://forums.fivetechsoft.com/viewtopic.php?t=10541&start=0">http://forums.fivetechsoft.com/viewtopi ... 41&start=0</a><!-- m -->What is ISREADY( cDrive ) returning?Here it errored out with this error screen. As a solution I...
About copyfile: checking results
Otto,Have you located what exact function call is generating the GPF ? thanks,
About copyfile: checking results
Hello Antonio,I am sorry but I don't have done more tests as I reported in the thread.Now as I have reinstalled the USB ports I can't reproduce the error.Regards,Otto
About defining fonts
Hi to all. I'm rewriting some functions of a big procedure and I'm trying to optimize some parts of it. I have a procedure that launch another one that make a big use of several fonts and opening and closing them for 70000 times sometimes gives memory problems. That second procedure defines nearly 50 fonts, than prints...
About defining fonts
[code=fw:2wyw5uuv]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Your Print Module</span><br /><br /><span style="color: #00C800;">static</span> aFont<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</sp...
About defining fonts
Hi Nages. YourPrintFuncion is called by a previous procedure, that is in another PRG that can't see the aFont array.
About end of file (txt)
Hello Look that code pleaseResp := LOpen("TEXTO.TXT",0)Do While .t. Resp1 := cFReadLine(Resp) ========> why i can test end of file to abort this while? LoopEnddoThanksWanderson.
About end of file (txt)
I modify incoming formats this waygetcFile := cGetFile32("Print Files (*.ofx; *.ofc)| *.ofx; *.ofc |" ,"Please select a file",1)nBinary := FOPEN(getcFile)IF (nError := FERROR()) # 0 MsgInfo('Cannot open '+getcFile+CRLF+::FError(nError))ELSE MEMORY(-1) // Maybe not necessary now IF FREADln(nBinary, @cBuffer, 3...
About end of file (txt)
Wanderson,This is a real fast way to do it:[code:dpjrf4wf] cTxtFile = MemoRead&#40; cRCFile &#41; nFrom = 1 while nFrom < Len&#40; cTxtFile &#41; cLine = ExtractLine&#40; cTxtFile, @nFrom &#41; &#46;&#46;&#46; SysRefresh&#40;&#41; end [/code:dpjrf4wf]
About end of file (txt)
Thanks Antonio and JH.
About font. Differences beetween FWH font and Windows font
Hi all,I need to know the exact font size needed to print a certain number o chars.I made the following function with these parameters:- cFontName, that is the font name - n_ColRequired that is the number of chars that I want to print in a single printer row- nMaxSize, the size of the paperIt seem to runs, however I re...