topic
stringlengths
1
63
text
stringlengths
1
577k
Calcular el nº de semana
[code=fw:1ep1i7wg]<div class="fw" id="{CB}" style="font-family: monospace;"><br />AddMonth<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> Adds or subtracts a number <span style="color: #0000ff;">of</span> months <span style="color: #0000ff;">to</span>/<span style="color: #0000ff;">f...
Calcular el nº de semana
[quote="karinha":3c5v6mac][code=fw:3c5v6mac]<div class="fw" id="{CB}" style="font-family: monospace;"><br />AddMonth<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> Adds or subtracts a number <span style="color: #0000ff;">of</span> months <span style="color: #0000ff;">to</span>/<span...
Calcular el nº de semana
Saludos camarada ! esa información la encuentras en la ng cd CA-TOOLS, tambien puedes revisar la documentacion de las contribs de harbour y xharbour hbct / hbnf aca tambien tienes para leer <!-- m --><a class="postlink" href="http://www.ousob.com/norton.php">http://www.ousob.com/norton.php</a><!-- m -->
Calcular el nº de semana
[quote="Loren":2tmqlgm8]Compañeros, buenas: Necesito calcular el nº de semana a partir de una fecha. ¿ Hay por ahí alguna rutina hecha ? En caso negativo, ¿alguna pista? Mil Gracias. Lorenzo Fdez. Desde Cádiz, ESpaña.[/quote:2tmqlgm8] Buenas dias les paso rutina que tengo en clipper de un colega que hace años creo ...
Calcular_Verificar dia habil - SOLUCIONADO
Buenos dias colegas... Existe en FiveWin o en Harbour ...o alguna funcion hecha por uds. que calcule o verifique que a partir de una fecha dada el proximo dia es un dia habil? ...es decir si es un lunes a viernes? Gracias Abrazos
Calcular_Verificar dia habil - SOLUCIONADO
Parece que hoy me levante sin muchas ganas de pensar <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> La funsion en cuestion es Dow() que devuelve en forma numérica el día de la semana espesando con un 1 para el domingo así correlativamente. Gracias y disc...
Calculate elapsed time between two dates
To All Does anyone have a solution to find the elapsed time between two dates in minutes .. [code=fw:2cnpwlg0]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Date out &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Time Out &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; military time<br /><span style="color: #000000;"...
Calculate elapsed time between two dates
Rick, You can try [code=fw:2rvi8wun]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/*<br />&nbsp;* &nbsp; &nbsp; Return elapsed time between two days and/or times<br />&nbsp;* &nbsp;SYNTAX<br />&nbsp;* &nbsp; &nbsp; ELAPSED([ <dStart> ], [ <dEnd> ], ;<br />&nbsp;* &nbsp; &...
Calculate elapsed time between two dates
Uwe I found your post ... thank you, the only problem I have is when you span a day I do not get the correct calculation .. here is the code I used with your function : [code=fw:2ekt5yvh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #B900B9;">// &nbsp;dStart = 03/11/2017</sp...
Calculate elapsed time between two dates
[quote:2fhctb3h] The answer is 90 minutes ... I have no problem calculating time on the same date .. but spanning days ( midnight ) is giving me a headache .. any advice or algorithm would be appreciated. [/quote:2fhctb3h] If you want the answer in minutes: [code=fw:2fhctb3h]<div class="fw" id="{CB}" style="font-famil...
Calculate elapsed time between two dates
Rao Thank you ... I saw a similar solution on the internet but did not know how to change the value of the character to valtype "T" .. I agree with you on getting away from Date and Time ... DateTime is one of the foundation blocks in any Sql RDMS. Thank you Again! Rick Lipkin
Calculate elapsed time between two dates
Rao I am having problems ... these are the values I am using : [code=fw:9rzj2iko]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />dEnd   := ctod<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"03/12/2017"</span> <span style="color: #000000;">&#41;</span><br />dStart := cto...
Calculate elapsed time between two dates
Correct value is not 90 minutes From night 11:00 pm to next day 12:30 pm is 13 hours and 30 minutes but not 90 minutes The formula's answer is correct. 90 minutes after 11 pm is 00:30 on the next day If you try with tEnd as "00:30:00" then you get 90 minutes. Please note that "12:30:00" is afternoon not early hours....
Calculate elapsed time between two dates
Rao The values are from 11:00pm on 03/11/2017 and return is 12:30 am 03/12/2017 .. 90 mins this trip spans midnight from 11:00pm to 12:20 am Military time 11:00pm = 23:00:00 03/11/2017 Miltary Time 12:30am = 12:30:00 03/12/2017 Rick Lipkin
Calculate elapsed time between two dates
Rao Let me take a deep breath ... you are correct ... I cannot focus this morning due to all the interruptions .. Let me re-test. Thanks Rick Lipkn
Calculate elapsed time between two dates
Rao Both your examples work great ... I just inserted the wrong value ( as you mentioned ) for 12:30am should have been 0030 .. and NOT 12:30 Rick Lipkin
Calculate elapsed time between two dates
For computing purposes, please use 24 hour format
Calculate elapsed time between two dates
Hey Rick! Thank you posting and thank you for giving me something to smile about today. I'm here reading your text and smiling at the fact that you were -for a minute- confused about 12:30am being 00:30. Many won't understand that in the US you never think of time in "military" terms which is the only way to tell ...
Calculate number of day of year
my problem is to calculate the progressive number of a day 1 1 2020 ---> corresponds to the first day of the year 2 2 2020 ---> corresponds to 33rd day of the year How I can calculate the number of day of year ? sample 0059 is 29.02.2020 if (month == 1) nprog = g; // in the case of January else nprog = (30 ...
Calculate number of day of year
I made another test Function test() Local ddata Local nreturn SET DATE ITALIAN ddata:=date() nReturn := dData- CTOD("01/01/"+RIGHT(DTOC(dData),2)) +1 RETURN nReturn return 36577 ( today 21.02.2020) why not run ok
Calculate number of day of year
[code=fw:v3f7fnny]<div class="fw" id="{CB}" style="font-family: monospace;"><br />? DOY<span style="color: #000000;">&#40;</span> dDate <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:v3f7fnny] Example: Today is 20th Feb 2020. [code=fw:v3f7fnny]<div class="fw" id="{CB}" style="font-family: monospace...
Calculate number of day of year
funciones de fecha en xHarbour [code=fw:3gda4lc5]<div class="fw" id="{CB}" style="font-family: monospace;"><br />AddMonth<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> Adds or subtracts a number <span style="color: #0000ff;">of</span> months <span style="color: #0000ff;">to</span>...
Calculate number of day of year
[b:bbdtho25]Sorry Nages,[/b:bbdtho25] I didn't even think there was a function, I trusted the old source in ca-clipper which had the s_doyear function that I couldn't find in fwh, it was probably a function of the ct or superlib library. Thank you all
Calculate position
The above solution was not correct. This appears to be the correct solution [code=fw:1v68gjax]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style...
Calculate position
Hi, If I click on Dialog Button Activate the dialog. If I start with default values the dialog is positioned in 100 , 200 , 640 , 818 instead of 100 , 200 , 600 , 800 If I close dialog and click again the button I have 100 , 200 , 680 , 836 Every time the dialog is 40 pixel and 18 pixel more big than previus cl...
Calculate position
any ideas?
Calculate position
What do you want to do exactly? EMG
Calculate position
Enrico, when I click the first time, If I dont' change the for values the dialog has to be created in 100 , 100 , 600 , 800 But it is positioned in 100 , 100 , 629 , 810 I Save these new positions and nex time I find the dialog in another position. I have to calculate this delta 629 - 600 = 29 for Height and 810 - 8...
Calculate position
I see no problem: [code=fw:1x53oi7q]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: ...
Calculate position
Enrico, If you run my program you can notice that the four coords change (see the four gets in the window) Imagine that I have to save these coords in a ini file for store these information for later use. .... ... ...
Calculate position
I don't understand your sample. Please check mine. You can use it for save and restore the dialog position. EMG
Calculate position
Marco, Your rewritten Sample ( hoping, it is what You are looking for ) it is very short now : Resize and Move the Dialog and get the needed Values : < Dialog-Top, Left, Hight and Width > for Fields < nTop, nLeft, nHeight and nWidth > inside the Main-window. It is just a quick Solution, maybe it can be done better. ...
Calculate position
Uwe, please try to click five times "Dialog" button and don't touch any other objects You can see that at every click dialog become smaller This is the problem
Calculate position
Marco, You can use a logical Var, to make it impossible, to open a Dialog once more. But I will check and try to fix it. Like I told You : just a quick Solution. Please change this line and add the defined logical var < lActivated >, to make it impossible to open a Dialog twice with the Button. The Button will open ...
Calculate position
Is it normal that four coords change?
Calculate position
Marco, Only Position changed but You can change Width and Height as well. You don't want to Resize ? [img:2k8hvo1o]http&#58;//www&#46;pflegeplus&#46;com/pictures/reszize4&#46;jpg[/img:2k8hvo1o] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
Calculate position
My task is store in a ini files nTop, nLeft, nBottom and nRight When I open the dialog again in the new position The minimal samples posted works fine In the real project the dialog has a listbox, Gets and buttons EVery time I close and repoen It move up of about 2o pixels
Calculate position
<!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> solution shameful [code=fw:3ofeshgp]<div class="fw" id="{CB}" style="font-family: monospace;">nTd  := VAL<span style="color: #000000;">&#40;</span> GETPVPROFSTRING<span style="color: #000000;">&#40;</span> <sp...
Calculate position
Please, compile this little program Run it Move the dialog in a new position and resize it Now Click to store coords into dialogo.ini file Restart program you will find the dialog moved up!! What's wrong? <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> I don'...
Calculate position
Marco, I got it working. There is a Difference in saved / displayed Dlg-left and Bottom. I have to detect where it comes from. With the adjustment, it works fine. oDlg:Move( nDTop, nDLeft, nDRight - nDLeft [color=#FF0000:kfuyfjmr]- 18[/color:kfuyfjmr], nDBottom - nDTop [color=#FF0000:kfuyfjmr]- 38 [/color:kfuyfjmr]...
Calculate position
[quote="MarcoBoschi":2ibrrwgr]Enrico, when I click the first time, If I dont' change the for values the dialog has to be created in 100 , 100 , 600 , 800 But it is positioned in 100 , 100 , 629 , 810 I Save these new positions and nex time I find the dialog in another position. I have to calculate this delta 629 - 6...
Calculate position
Probably I'm using an old version Application =========== Path and name: C:\Fwh\samples\nage.exe (32 bits) Size: 1,904,128 bytes Time from start: 0 hours 0 mins 2 secs Error occurred at: 07/10/11, 13:33:51 Error description: Warning BASE/1004 Message not found: TDIALOG:ISICONIC Args: 11/09/2009 ...
Calculate position
Marco change by IsIconic( oDlg:hWnd )
Calculate position
Thanks to all
Calculate position
To nage, Please Try this modified version of your source code. I think that we are close to solving the problem Many thanks again marco Download nage.res at [url:3mm07e5m]http&#58;//www&#46;marcoboschi&#46;it/public/nage&#46;zip[/url:3mm07e5m] [code=fw:3mm07e5m]<div class="fw" id="{CB}" style="font-family: monos...
Calculate position
This program is working fine here with your resources. Please note that I have made this very minor modification to your code: I have substituted your code: [code=fw:1ee6ckav]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</spa...
Calculate position
Ok, I think it's a bug of my version 11/09/2009 10:15 543 readme.txt 29/09/2009 16:34 423.424 Fivehc.lib 18/10/2009 08:20 716.296 Fivehcm.lib 26/10/2009 07:47 1.880.576 Fiveh.lib 26/10/2009 07:47 2.957.968 Fivehm.lib 26/10/2009 07:47 3.085.878 Fivehmx....
Calculate position
Please send me an email to <!-- e --><a href="mailto:nageswaragunupudi@gmail.com">nageswaragunupudi@gmail.com</a><!-- e -->. In reply I shall send you the application.
Calculate position
OK Problem solved! King regards marco
Calculate total pages
How can I calculate number of pages in a print using for instance PRINT oPrn NAME "My Print" PREVIEW PAGE WHILE !EOF() some instruction like Prn:Say( nRow, nCol , bla bla ) ENDPAGE PAGE ENDDO ENDPAGE ENDPRINT does exist a clause that permits...
Calculate total pages
I have the same problem on treport
Calculate total pages
Marco Boschi, I don't understand what you want to do exactly. Can you explain in more detail? Do you want to control page skipping? Marco Boschi, no entiendo qué quieres hacer exactamente. ¿Puedes explicarlo con más detalle? ¿Quieres controlar el salto de página? Gracias, thanks. Regards, saludos.
Calculate total pages
Marco, with the tprinter class it is easy to calculate the number of pages, just set how many rows you want per sheet and then divide the total archive with the rows and you will have the number of pages, but with the treport class I cannot do it, that is, it is displayed to me the page number but not the total number ...
Calculate total pages
Silvio, I don't understand, what is the reason for knowing in advance how many pages the report has? If it's not inconvenient, can you explain it to me? Silvio, no entiendo, ¿cuál es la razón para saber de antemano cuántas páginas tiene el informe? Si no es inconveniente, ¿puedes explicármelo? Gracias, thanks. Regar...
Calculate total pages
It is required for printing something like this in each page: Page no. x of y
Calculate total pages
Enrico, here's how I do it: I save an emf file and then reopen add the number and print it. I use it for invoice copies, I print the invoice number on the emf and then print on paper. Strictly speaking, regenerating from data is not a copy. In terms of financial regulations, a blueprint is considered a copy. Best ...
Calculate total pages
[quote="Otto":3mr2cx82]Enrico, here's how I do it: I save an emf file and then reopen add the number and print it.[/quote:3mr2cx82] How to do that exactly? Can you share it?
Calculate total pages
Enrico, I have extended TPrinter. Best regards, Otto [code=fw:1z3cwowd]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> HORZSIZE &nbsp; &nbsp; &nb...
Calculate total pages
Than you, but I can't find nothing related to total number of pages, or I am missing it. Can you explain?
Calculate total pages
Enrico, I use it for a different purpose. But you only need to count the number of EMF files per document. Then you can print the pages and write whatever you want on them as if on a layer. Best regards, Otto
Calculate total pages
Thank you. It is not worth the work, at least for me.
Calculate total pages
For TPrinter there is : * New: Method GetPages() on class TPrinter to get the From & To pages selected on the print dialog when the FROM USER clause is used. This method returns a two dimension array but also you can pass the nFrom and nTo variables by reference, for example: aPages := oPrn:GetPages(@nFr...
Calculate total pages
[quote="Enrico Maria Giordano":4l5r2gax]It is required for printing something like this in each page: Page no. x of y[/quote:4l5r2gax]
Calculate total pages
Mister Otto, any practical example of this madness you posted? Señor Otto, ¿algún ejemplo práctico de esta locura que publicó? Gracias, thanks. Regrards, saludos.
Calculate total pages
Hi João, we are required by law to print a QR code on every invoice. In the invoice preview, you don't know yet whether you will actually print or if changes are still needed. Here you see the invoice without a QR code. During printing, the QR code is then added and stored as a metafile. In the hotel, we then have ...
Calculate total pages
Master Otto, master Otto!! Are you trying to trick me? hahahahaha. I asked for a PRACTICAL EXAMPLE with Fonte(.PRG) where you use this subclass model that you post. There is no way to fool the biggest super power of FIVEWIN BRASIL. hahahahahahaha. ¡¡Maestro Otto, maestro Otto!! ¿Estás tratando de engañarme? jajajajaja...
Calculate total pages
Hi João, I've also made changes to preview.prg. When the invoice button is pressed, these steps are executed: Best regards, Otto [code=fw:3dpwtc86]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;oDevice := DEVICE<br />&nbsp; &nbsp;aFiles &nbsp;:= oDevice:<span style="color: #000000;">aMe...
Calculate total pages
We will be providing this feature in the next version. In all cases other than direct printing to printer and generating PDF using HaruPDF, the printer class generates meta files for preview and then printing or for generation of pdf, jpg, docx, etc In the case where meta files are generated we can modify the emf file...
Calculate total pages
Is It possible also with treport?
Calculate total pages
Many Thanks Mr Rao.
Calculate total pages
[quote="Silvio.Falconi":2xvu6l59]Is It possible also with treport?[/quote:2xvu6l59] Yes Where you write page number, write something like this: [code=fw:2xvu6l59]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #ff0000;">"Page : "</span> + cValToChar<span style="color: #000000;">&#40;</spa...
Calculate total pages
[quote="nageswaragunupudi":17t0tkdb][quote="Silvio.Falconi":17t0tkdb]Is It possible also with treport?[/quote:17t0tkdb] Yes Where you write page number, write something like this: [code=fw:17t0tkdb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #ff0000;">"Page : "</span> + cValToChar<spa...
Calculate total pages
Perhaps I found the solution rem "static" form PageNumber function on Tprinter class then add this line pn this method [code=fw:3tboyz6a]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> End<span style="color: #000000;">&#40;</span><span style="color: #00000...
Calculate total pages
[quote="nageswaragunupudi":1ao0yu69]For now, we can do this test. First let us make a few modifications to the Printer.prg:[/quote:1ao0yu69] Great idea, but the EMF that is produced here are pure binaries, no readable text inside them. What am I doing wrong?
Calculate total pages
Yes, true. But the text we print is stored in wide format. If we printed "Name", it is stored as AnsiToWide( "Name" ), i.e., "N" + Chr(0) + "a" + Chr(0) + "m" + Chr( 0 ) + "e" + Chr( 0 ). In other words the text is encoded in UTF16LE format. So, if we want to substitute "Name" with "NAME", we can use StrTran( cEmf...
Calculate total pages
It works, thank you!
Calculate total pages
One caution. Length of the WideString ( utf16le ) should not change.
Calculate total pages
Mr. Silvio We will get back to you soon.
Calculate total pages
[quote="nageswaragunupudi":2riorrcy]One caution. Length of the WideString ( utf16le ) should not change.[/quote:2riorrcy] Of course.
Calculate total pages
Mr. Silvio Please make only this one change in the report.prg: In the Method Activate(), locate these lines: [code=fw:ba0xjc14]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> !::<span style="color: #000000;">lHaru</span> .and. Empty<span style="col...
Calculate total pages
In XBrowse.prg Please make this change in METHOD Report(...) Replace these lines [code=fw:uphzq0v8]<div class="fw" id="{CB}" style="font-family: monospace;">   REPORT oRep <span style="color: #0000ff;">TITLE</span> cTitle ;<br />          FOOTER FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff...
Calculate total pages
thanks Rao Would this also work if I use the browse setup? example oBrw:Report( cTitle, , , ; { |oRep, oBrw| MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,aCampi ) } ) static function MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,afields ) local cFooter := "Progetto Magazzino - " local cTitle...
Calculating ""Time""
Hi,In my app I extract data from a medical device (oximeter).The data is collected overnight and it is possible for the device to turn itself off is there is no valid data for a period of time. The patient usually turns the unit on again a some point during the night.In the device, when it is switched on, it creates a ...
Calculating ""Time""
Jeff:It will be much easier if you store time as a numeric field. You can get the time as a number with the SECONDS() function. I have a similar app and finally in the last major revision changed the time field from a character string to a numeric one. <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" tit...
Calculating ""Time""
Either way, I still run into the same problem. I can always convert the field to a numeric one in my code. In my app this time field is used in many places where it is actually easier to have it as a text field.If the gaps in the time were in the same day I do not have a problem as I can do something like:If Last_Rec_...
Calculating ""Time""
Jeff:Please check my previous post. I was revising it when you posted your response. Thank you. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Calculating ""Time""
Ahh. I think I now understand what you are saying.I will play with this idea tonight when I get home and see what I can do.Thanks for the idea. I think this will help.
Calculating ""Time""
If I can be of further assistance don't hesitate in dropping a note. Thank you.
Calculating ""Time""
You have 21600 intervals of 4 seconds, you can fill a DBF like that:[code:q6g681lw] Static procedure NewDay&#40;dDate&#41; Local nSec Default dDate &#58;= Date&#40;&#41; For nSec &#58;= 1 to 21600 DbAppend&#40;&#41; Replace Time with tString&#40;nSec*4&#41; Replace Day with dDate Replace Value with "Empt...
Calculating or controling IBAN numbers
Hello , I had to write a input routine for IBAN numbers. Old numbers must be converted. Searching in the forum i found some tip's , no complete example. Writing first a testmodule , i am glad to deal it , hoping it is usefull. The inputroutine ask's first the land . This determines also the picture clausule from th...
Calculating or controling IBAN numbers
Frank, perhaps you must give to final user the possibility to insert code bank or Cab code succursal or ABi Number account and the you can create the iban code just an Idea
Calculating or controling IBAN numbers
hello, Anyone who can "translate" this VB code please. Public Function BBANtoIBANint(ByVal ISOcountry As String, ByVal banknumber As String, ByVal Account As String) As String Dim xd As Object Set xd = CreateObject("msxml2.domdocument.4.0") xd.Load "http://www.ibanbic.be/IBANBIC.asmx/calculateIBAN2?ISOcountry=" & I...
Calculating or controling IBAN numbers
Frank, This the code I use to convert old account numbers to IBAN and BIC :[code=fw:1ur0agg0]<div class="fw" id="{CB}" style="font-family: monospace;">******************************************************************************<br />*                                                                            *<br />...
Calculating or controling IBAN numbers
Michel Works fine. Thank you. Best regards Bart
Calculating or controling IBAN numbers
Dear Michel D. Nice Thank you for sharing
Calculation from Font-Size (pt) to Pixel ?
Hello, is there a [color=#FF0000:78pd0v9k]clean[/color:78pd0v9k] Solution, to calculate Pixeldimension in Relation to Font - Pt ? There was a lot of testing, to find the values / adjustment for SAY's from Source in Relation to the Font-Style / Size. ( you can Download the Fonttool again ( Rel. [color=#FF0000:78pd0v9...
Calculation from Font-Size (pt) to Pixel ?
It's more complicated. You need to know DPI (x or y) of the device (screen in this case) for convert the two values. Example FontSize px = ? FontSize pt = 14 DPI = 96 (standard screen dpi resolution) Point in a inch = 72 FontSize (in px) = FontSize(in pt) * DpiX / 72 = 14 * 96 / 72 = 18.667 px
Calculation from Font-Size (pt) to Pixel ?
Patrizio, Thank You very much. Is it possible for You, to test it with the Tools and tell me Your results on Your Computer ? My working Solution ( maybe some changes needed ) [code=fw:2dny3qy0]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// cTEXTFONT2 = Prompt</span><b...
Calculation from Font-Size (pt) to Pixel ?
With [code=fw:275ubvzj]<div class="fw" id="{CB}" style="font-family: monospace;">oFont := TFont<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Arial"</span>,<span styl...
Calculation from Font-Size (pt) to Pixel ?
The Result of Your settings on my Computer I hope, it looks the same : [img:m2td7zc4]http&#58;//www&#46;pflegeplus&#46;com/pictures/pixelptn1&#46;jpg[/img:m2td7zc4] Best regards Uwe <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->