Re: [lazarus] LazReport License change
Jesus Reyes wrote: To be sure let's give them a couple of days more and then I will try some other path. Well it took more than a couple of days but I finally got the answer, in short they agree so thanks to the FastReport Team and specially to Michael Philippenko and Emil Biserov LazReport is now officially released under the same LGPL License modification than Lazarus LCL. Wow, that's good news indeed :-). Thanks for your efforts. Micha _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage.
Panagiotis Sidiropoulos wrote: I can't find an example project with this or similar name, can you please guide me? lazarus/examples/fontsenum/ Is enumfont/ example OS independed? While compiling produces a lot of errors such - mainunit.pas(81,31) Error: Identifier not found TNewTextMetricEx - mainunit.pas(436,5) Error: Identifier not found EnumFontFamiliesEX etc. It seem like WIN API specific. It is afaik for all supported lcl widgetsets. But if you use this example from svn, you must use the LCL units from SVN too; supporting functions for this example may have been added to the LCL. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Showing URL in default browser
I think it is nice to first try to launch the default application defined in KDE or GNOME, this not necessarily Konqueror or Galeon.To do that use kfmclient exec or gnome-open.This work not only for url but also for any mime type. For example launch Xpdf or Acroread as defined in the desktop preference for a pdf file. Patrick
Re: [lazarus] Showing URL in default browser
Felipe Monteiro de Carvalho wrote: You don't need a Firefox API to do this. Just send the shell command: mozilla-firefox www.google.com and if firefox is already open, it will open the page without opening a new instance. I tested here, try on your command line with firefox already open. If you want it to open a new instance, there is probably a command line switch for this. Note that FireFox has an option under Tools - Options ... - Tabs about what to do when 'links are opened from other applications': new window, new tab in most recent window, or most recent window/tab. (But as far as I know, FireFox does not start a separate process.) Personally I favor the first two options above the last one, as I don't like the webpage I'm visiting to disappear suddenly because it is replaced by a page opened by some app. On the other hand, if the app is opening pages occasionally -- like the help function in Lazarus -- it would be nice if the app would have a 'private' window/tab it can reuse time over time (perhaps identified by some ID code on the command line). I'm afraid this isn't possible with the current FireFox, and that in fact an internal html viewer or embedded browser would be more suitable for such a job. Regards, Bram _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] keyboard events
On Tue, 21 Feb 2006 22:14:24 -0700 L505 [EMAIL PROTECTED] wrote: Tony also check out this: http://www.freepascal.org/contrib/edit.php3?ID=487 http://z505.com/download/pascal/vk_keys/vk_keys.zip I find I can never memorize the hex/dec values of Keyboard keys so I made that unit. Is there any reason you cannot use the constants defined in LCLType? satan _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Interbase library
Joost van der Sluis wrote: SqLite works seperate. There was an connection for sqldb for SqLite, but it got lost in a HD-crash. ;-( That's why you should commit early to svn :) But now the sqlite-components from Luis Pereira are available, which also works very good. On Wed, 2006-02-22 at 08:31 +1000, SteveG wrote: Thanks Joost - working find now does SqLite work using SqlDB, or is it seperate ? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Interbase library
Joost van der Sluis wrote: SqLite works seperate. There was an connection for sqldb for SqLite, but it got lost in a HD-crash. ;-( Commit early, commit often, let the web backup/mirror your stuff ;-). (As Linus once said). Micha _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Compile without link
Can anybody tell me how (if possible) to compile a Laz program, but skip the linking step ? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Interbase library
Could you try it again with ParseSQL := False? If that works it's still a bug, but then I know where to look at it. Ow, and could you try to remove the TimeIn (12:55) ? And the DateIn (22/02/2006) ? On Wed, 2006-02-22 at 13:29 +1000, SteveG wrote: Drat - spoke (or typed) too soon can you tell me whats wrong with this line (works ok using the Interbase unit) INSERT INTO NLISTest (RecIdent, DateIn, TimeIn, Agent, Lot, Paint, HeadCount,TagCount, ClientPIC, ClientNVD, ClientNAME, BeastPIC) VALUES ( '1370984712', '22/02/2006', '12:55', 'A1', '0', 'P1', '0', '0', 'XXX-03', 'XXX-03', 'XXX-03', '' ) fails with the following err: PREPARESTATEMENT: [LF] -DYNAMIC SQL ERROR[LF] -SQL ERROR CODE = -104[LF] -TOKEN UNKNOWN - LINE 1, CHAR 176[LF] -A1 Thanks SteveG wrote: Thanks Joost - working find now does SqLite work using SqlDB, or is it seperate ? Joost van der Sluis wrote: On Tue, 2006-02-21 at 09:26 +1000, SteveG wrote: Now I know I haven't a clue :) If I remove the Interbase unit, Laz can no longer find the TIBDatabase / query / trans So I assume from your examples I need IbConnection in the uses as well? When I compile the alisttables.pp example, I get the error 'SqldbExampleUnit.pp(80,72) Warning: Constructing a class TIBConnection with ab stract methods' - which brings me back to where I began to have problems _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en Netwerken http://www.cnoc.nl _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Interbase library
On Wed, 2006-02-22 at 13:15 +0100, Florian Klaempfl wrote: SqLite works seperate. There was an connection for sqldb for SqLite, but it got lost in a HD-crash. ;-( That's why you should commit early to svn :) At that time I didn't have cvs-write-access yet. But I have to confess that nowadays I still wait too long before I commit things. (Like the oracle-connection) Joost. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Compile without link
On Wednesday 22 February 2006 13:18, SteveG wrote: Can anybody tell me how (if possible) to compile a Laz program, but skip the linking step ? I'm not sure exactly how to do that. What are you trying to do? -- Regards, Christian Iversen _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Interbase library
Can do - possibly not till tomorrow though - have pulled my program apart (again) and need to get it stable to test understand about the Dt Tm - customer wants them this way for older program pulling data from file - cant (or wont) reformat to suit up the line (what can you do, they pay the bills - indirectly) Joost van der Sluis wrote: Could you try it again with ParseSQL := False? If that works it's still a bug, but then I know where to look at it. Ow, and could you try to remove the TimeIn (12:55) ? And the DateIn (22/02/2006) ? On Wed, 2006-02-22 at 13:29 +1000, SteveG wrote: Drat - spoke (or typed) too soon can you tell me whats wrong with this line (works ok using the Interbase unit) INSERT INTO NLISTest (RecIdent, DateIn, TimeIn, Agent, Lot, Paint, HeadCount,TagCount, ClientPIC, ClientNVD, ClientNAME, BeastPIC) VALUES ( '1370984712', '22/02/2006', '12:55', 'A1', '0', 'P1', '0', '0', 'XXX-03', 'XXX-03', 'XXX-03', '' ) fails with the following err: PREPARESTATEMENT: [LF] -DYNAMIC SQL ERROR[LF] -SQL ERROR CODE = -104[LF] -TOKEN UNKNOWN - LINE 1, CHAR 176[LF] -A1 Thanks _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Compile without link
SteveG wrote: I have noticed that many of my 'typos' are caught at the compile stage - then have to wait for the linker (for no reason at this point, since I already know I have problems) If the program doesn't compile, it isn't linked? -s does the trick on the command line. Christian Iversen wrote: On Wednesday 22 February 2006 13:18, SteveG wrote: Can anybody tell me how (if possible) to compile a Laz program, but skip the linking step ? I'm not sure exactly how to do that. What are you trying to do? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Quick Fix menu items
This first 'Quick Fix' item shows, when a compiler message of the form 'unit xxx not used' is selected. It will remove the unit from the uses section. That sounds like a handy feature to have. :-) Regards, - Graeme - _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Compile without link
sounds close to what I am after - is there any way to just compile (not link) even if no errors found? - same thing, just testing for basic errors in ongoing code Florian Klaempfl wrote: SteveG wrote: I have noticed that many of my 'typos' are caught at the compile stage - then have to wait for the linker (for no reason at this point, since I already know I have problems) If the program doesn't compile, it isn't linked? -s does the trick on the command line. Christian Iversen wrote: On Wednesday 22 February 2006 13:18, SteveG wrote: Can anybody tell me how (if possible) to compile a Laz program, but skip the linking step ? I'm not sure exactly how to do that. What are you trying to do? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Compile without link
The -s option in the Project - Compiler Options - Other - Custom options will do that, but maybe a option in the Run menu would be nice, or some keyboard shortcut. Regards, - Graeme - On 2/22/06, SteveG [EMAIL PROTECTED] wrote: sounds close to what I am after - is there any way to just compile (not link) even if no errors found? - same thing, just testing for basic errors in ongoing code Florian Klaempfl wrote: SteveG wrote: I have noticed that many of my 'typos' are caught at the compile stage - then have to wait for the linker (for no reason at this point, since I already know I have problems) If the program doesn't compile, it isn't linked? -s does the trick on the command line. Christian Iversen wrote: On Wednesday 22 February 2006 13:18, SteveG wrote: Can anybody tell me how (if possible) to compile a Laz program, but skip the linking step ? I'm not sure exactly how to do that. What are you trying to do? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Compile without link
Exactly - a shortcut (perhaps Shift-Ctrl-F9) to compile only - otherwise it is necessary to insert / remove the compiler switch (which sort of defeats the fast check attempt) Graeme Geldenhuys wrote: The -s option in the Project - Compiler Options - Other - Custom options will do that, but maybe a option in the Run menu would be nice, or some keyboard shortcut. Regards, - Graeme - On 2/22/06, SteveG [EMAIL PROTECTED] wrote: sounds close to what I am after - is there any way to just compile (not link) even if no errors found? - same thing, just testing for basic errors in ongoing code Florian Klaempfl wrote: SteveG wrote: I have noticed that many of my 'typos' are caught at the compile stage - then have to wait for the linker (for no reason at this point, since I already know I have problems) If the program doesn't compile, it isn't linked? -s does the trick on the command line. Christian Iversen wrote: On Wednesday 22 February 2006 13:18, SteveG wrote: Can anybody tell me how (if possible) to compile a Laz program, but skip the linking step ? I'm not sure exactly how to do that. What are you trying to do? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Sqlite in ReportManager
Has anybody managed to get ReportManager (http://reportman.sourceforge.net/) to work with Sqlite databases ? not 'directly' related to Laz/Fpc, but what the hey - most database programs need reports eventually _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Compile without link
SteveG wrote: Exactly - a shortcut (perhaps Shift-Ctrl-F9) to compile only - otherwise it is necessary to insert / remove the compiler switch (which sort of defeats the fast check attempt) Graeme Geldenhuys wrote: The -s option in the Project - Compiler Options - Other - Custom options will do that, but maybe a option in the Run menu would be nice, or some keyboard shortcut. Regards, - Graeme - +1 from me on this one. I would find this really helpful too. Uwe _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Connection to a DB2 server
I made a single program that connects to a DB2 table in a DB2 server and made a browse with DBNavigator. I'm writing this only to complement the information about these matter, since I ask about this here. Best regards Ricardo _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Quick Fix menu items
On Wed, 22 Feb 2006 14:56:56 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: This first 'Quick Fix' item shows, when a compiler message of the form 'unit xxx not used' is selected. It will remove the unit from the uses section. That sounds like a handy feature to have. :-) I hope some people will now write some more. For example: - Identifier not found: lookup common identifiers and add unit to to uses section - Warning: Local variable v does not seem to be initialized Add an initialization like v:=0; or FillChar(v,SizeOf(v),0); - Note: Local variable i not used Remove variable - Hint: use DIV instead to get an integer result a) Replace / by div b) add a typecast ... Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage.
http://mx.geocities.com/jesusrmx/lazarus/images/tpipro_gtk1_greekcharset.png I'm trying to get into the result of above screenshot but I could not make it. Because I tried several things now I'm totally confused, really. I suggest to start over again based on this successful example. So, I ask to support me with or confirm following information: - this is Lazarus /examples/turbopower... example, correct? - a new option is added, this on top with checkbox. Can you please send this piece of code? What happens when check is on/off? Are you just set DefaultTypeFace property? - please send to me html file used on this screenshot to compare and find changes in it's headers. - please send font Caret directly to my email address. I apologize if you thing I asked for material I already should have. Considering I could get into this level, I suppose something is changed. I hope after this to be free to sleep for a while :-) Regards, Panagiotis -Original Message- From: Panagiotis Sidiropoulos [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 9:48 AM To: lazarus@miraclec.com Subject: RE: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage. http://mx.geocities.com/jesusrmx/lazarus/tpiprosamples.zip Thanks a lot. I will check it first thing tomorrow morning. It is late here in Greece and this need a lot of attention. I apologize, while downloading; connection was lost so I started it again. Next time I got the message: - ‘Lo sentimos! este sitio estα temporalmente inaccesible. El sitio que estαs intentando accesar ha excedido su tasa de transferencia de datos. El acceso a este sitio serα reestablecido dentro de una hora. Por favor, intenta nuevamente mαs tarde. http://mx.share.geocities.com/jesusrmx/lazarus/tpiprosamples.zip Si sigues encontrando problemas, visita nuestra αrea de ayuda para informaciσn y asistencia. - Because I don't speak Spanish, tried to translate this text at altavista.com but result was not clear enough. Can you please explain this to me and if possible manage to make sample file downloadable again. iphtml.pas:9135 Owner.Target.Font.Name := FontName; at this point insert a line so it should look like: iphtml.pas:9135 Owner.Target.Font.Charset := GREEK_CHARSET; iphtml.pas:9136 Owner.Target.Font.Name := FontName; I made these changes but nothing changed. I suppose Building All, modified html is also recompiled. The default font checkbox in the screenshot does just that, it assigns IpHtmlPanel1.DefaultTypeFace :='Clean' when it's checked. I missed something, DefaultTypeFace property is not supported on my ipHTMLPanel. I hope this will be clear to me when receive sample files. My guess is that your sample file is not UTF-8 encoded but simply thanks to your localized environment, greek chars were entered using local encoding, this seems to be confirmed with a simple change in your sample file, in the header instead of charset=UTF-8 I changed to charset=ISO-8859-7 then I opened the file with opera (even with an old version 7) and it showed the file correctly. I think it is UTF-8 because when change code page to Konquaror, page is not shown properly. I also checked it with a hex viewer. Is it possible charset to be changed by browsers on the fly? A final weird thing, from a old post from you I have a screen shot that show that tpipro rendered correctly greek chars, http://www.magentadb.gr/ftp/paint-selection-sample.jpg how is that it worked before but actually it doesn't?. This screen shot it taken on Windows. I do not have problems on Windows probably because all texts are treated as non-Unicode, 1 byte per character. Proper code page in the font is selected by .charset property of components. Regards, Panagiotis -Original Message- From: Jesus Reyes [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 2:14 AM To: lazarus@miraclec.com Subject: Re: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage. - Original Message - From: Panagiotis Sidiropoulos [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Monday, February 20, 2006 6:16 PM Subject: Re: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage. http://mx.geocities.com/jesusrmx/lazarus/tpiprosamples.zip Thanks a lot. I will check it first thing tommorow morning. It is late here in Greece and this need a lot of attention. http://mx.geocities.com/jesusrmx/lazarus/images/tpipro_gtk1_greekcha rset.png Yes, this is correct, I feel I will find the solution investigating your source code. Oops, I made the package before I make the last screenshot, to make the screenshot I modified iphtml.pas so it uses by default GREEK_CHARSET, if you want to try with your copy of iphtml.pas this is what I did: iphtml.pas:9135 Owner.Target.Font.Name := FontName; at this point insert a line so it should look like: iphtml.pas:9135 Owner.Target.Font.Charset := GREEK_CHARSET; iphtml.pas:9136
Re: [lazarus] lightweight http
On Wednesday 22 February 2006 03:33, Juan Martinez wrote: Ales Katona [EMAIL PROTECTED] escribió: Juan Martinez wrote: Hi all I'm looking for a very lightweight http component, I don't need browser capabilities, even not html procesing, just sending, receiving and parsing http headers are needed. Anyone knows about such a component? I've seen httpclient unit in the fcl, but I don't know how to use it. Have you considered CurlPas - it's not exactly lightweight but it can be used in a lightweight manner and it's available and it works :) Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] lightweight http
On Wednesday 22 February 2006 18:21, A.J. Venter wrote: On Wednesday 22 February 2006 03:33, Juan Martinez wrote: Ales Katona [EMAIL PROTECTED] escribió: Juan Martinez wrote: Hi all I'm looking for a very lightweight http component, I don't need browser capabilities, even not html procesing, just sending, receiving and parsing http headers are needed. Anyone knows about such a component? I've seen httpclient unit in the fcl, but I don't know how to use it. Have you considered CurlPas - it's not exactly lightweight but it can be used in a lightweight manner and it's available and it works :) Sorry, I pasted the wrong link - this one is more appropriate to your needs: http://curlpas.sourceforge.net/curlpas/index.html -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Quick Fix menu items
On Wed, 22 Feb 2006 15:19:35 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: On Wed, 22 Feb 2006 14:56:56 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: This first 'Quick Fix' item shows, when a compiler message of the form 'unit xxx not used' is selected. It will remove the unit from the uses section. That sounds like a handy feature to have. :-) I hope some people will now write some more. For example: - Identifier not found: lookup common identifiers and add unit to to uses section - Warning: Local variable v does not seem to be initialized Add an initialization like v:=0; or FillChar(v,SizeOf(v),0); - Note: Local variable i not used Remove variable - Hint: use DIV instead to get an integer result a) Replace / by div b) add a typecast ... I added the ability to improve messages by the quick fix items. As first example, I added an item, which improves compiler messages of the form: test1.lpr(1,1) Fatal: Can't find unit bogus to test1.lpr(9,39) Fatal: Can't find unit bogus That means, the source editor now jumps to the position in the uses section. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Quick Fix menu items
Mattias Gaertner wrote: I added the ability to improve messages by the quick fix items. As first example, I added an item, which improves compiler messages of the form: test1.lpr(1,1) Fatal: Can't find unit bogus to test1.lpr(9,39) Fatal: Can't find unit bogus That means, the source editor now jumps to the position in the uses section. Isn't it better to request the compiler to be fixed ? :-) Micha _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage.
--- Panagiotis Sidiropoulos [EMAIL PROTECTED] escribió: http://mx.geocities.com/jesusrmx/lazarus/images/tpipro_gtk1_greekcharset.png I'm trying to get into the result of above screenshot but I could not make it. Because I tried several things now I'm totally confused, really. I suggest to start over again based on this successful example. So, I ask to support me with or confirm following information: - this is Lazarus /examples/turbopower... example, correct? Yes, in my local copy I usually test new features and I need to make changes to the sample project but then I realize that those changes are not important in the way I tested so I sometimes don't commit it. - a new option is added, this on top with checkbox. Can you please send this piece of code? What happens when check is on/off? Are you just set DefaultTypeFace property? The checkbox label in the screenshot is a little misleading it should be Use Font, so when checked use the font user write in the text edit and when unchecked it should use default font. This work only if the html page doesn't specify a font or the specified font don't exists. - please send to me html file used on this screenshot to compare and find changes in it's headers. No problem, I'm sending you in private the source code for both the tpipro sample and iphtml.pas. - please send font Caret directly to my email address. Sorry I don't understand this part, you mean the font file? if yes I wouldn't know how to handle this request. I apologize if you thing I asked for material I already should have. Considering I could get into this level, I suppose something is changed. No need to apologize, but I would suggest you to try to learn how use SVN to be in sync with Lazarus source code repository, I'm suggesting you this because as result of all, this tpipro might get improved so it can handle at least some charsets or give the user the opportunity to specify a default charset. So changes will probably be made and I think you will need them. In this link there is an explanation on this : http://wiki.lazarus.freepascal.org/index.php/Getting_Lazarus I hope after this to be free to sleep for a while :-) Regards, Panagiotis Regards. Jesus Reyes A. ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Enhanced versions of TStringGrid
I was talking with Jesus about his TAttrStringGrid (attached to issue 1360): http://www.lazarus.freepascal.org/mantis/view.php?id=1360 Maybe it could be part of LCL? I mean, we could have the standard, Delphi-compatible TStringGrid AND a new grid, descendant of the standard, with extra features. Or even an entire set (maybe a whole tab) of enhanced grids, like this: http://www.tmssoftware.com/gridpack.htm So TAttrStringGrid could be the first grid on this new tab, and others could be added as they were created. What about this? -- Atenciosamente,Alexsander da Rosa
Re: [lazarus] Enhanced versions of TStringGrid
On Wed, 22 Feb 2006 14:57:49 -0300 Alexsander Rosa [EMAIL PROTECTED] wrote: I was talking with Jesus about his TAttrStringGrid (attached to issue 1360): http://www.lazarus.freepascal.org/mantis/view.php?id=1360 Maybe it could be part of LCL? I mean, we could have the standard, Delphi-compatible TStringGrid AND a new grid, descendant of the standard, with extra features. Or even an entire set (maybe a whole tab) of enhanced grids, like this: http://www.tmssoftware.com/gridpack.htm So TAttrStringGrid could be the first grid on this new tab, and others could be added as they were created. What about this? I second that. We need extended grid descendants. What means TAttrStringGrid? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] TListView.CustomSort
Hi, It seems that the lazarus tlistview's do not implement the customsort method - not even as a virtual, the result is that all the tutorials I could find on how to sort a tlistview by a columnclick do not work with lazarus since they all rely on tcustomsort (and I presume OnCompare). Is this a TODO ? Or is there a different way to do this in Lazarus ? Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Enhanced versions of TStringGrid
--- Mattias Gaertner [EMAIL PROTECTED] escribió: On Wed, 22 Feb 2006 14:57:49 -0300 Alexsander Rosa [EMAIL PROTECTED] wrote: I was talking with Jesus about his TAttrStringGrid (attached to issue 1360): http://www.lazarus.freepascal.org/mantis/view.php?id=1360 Maybe it could be part of LCL? I mean, we could have the standard, Delphi-compatible TStringGrid AND a new grid, descendant of the standard, with extra features. Or even an entire set (maybe a whole tab) of enhanced grids, like this: http://www.tmssoftware.com/gridpack.htm So TAttrStringGrid could be the first grid on this new tab, and others could be added as they were created. What about this? I second that. We need extended grid descendants. What means TAttrStringGrid? Mattias It should mean Attribute as it deals with changing cell attributes in code like background color, alignment and font of several at several levels: cell, columns, rows, fixed columns, fixed rows. Jesus Reyes ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
A.J. Venter wrote: Hi, It seems that the lazarus tlistview's do not implement the customsort method - not even as a virtual, the result is that all the tutorials I could find on how to sort a tlistview by a columnclick do not work with lazarus since they all rely on tcustomsort (and I presume OnCompare). Is this a TODO ? Or is there a different way to do this in Lazarus ? This is a todo. I tried to implement sorting, read about it on how to do it on gtk and found that it differs much from win32. So I tried to find a nice way were both would fit in a VCL compatible way. And then I had other business or so. Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
On Wednesday 22 February 2006 21:14, Marc Weustink wrote: A.J. Venter wrote: Hi, It seems that the lazarus tlistview's do not implement the customsort method - not even as a virtual, the result is that all the tutorials I could find on how to sort a tlistview by a columnclick do not work with lazarus since they all rely on tcustomsort (and I presume OnCompare). Is this a TODO ? Or is there a different way to do this in Lazarus ? This is a todo. I tried to implement sorting, read about it on how to do it on gtk and found that it differs much from win32. So I tried to find a nice way were both would fit in a VCL compatible way. And then I had other business or so. Okay then, so basically right now the only way would be to clear, create a sorted list and refill ? I suppose that can work as a temporary measure since sorting in my app is actually quite critical, unless somebody has a better idea. (This is for OpenBook - to allow people to sort search results by a field of their choice - obviously it would hugely improve the overall usability). Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Enhanced versions of TStringGrid
--- Mattias Gaertner [EMAIL PROTECTED] escribió: On Wed, 22 Feb 2006 14:57:49 -0300 Alexsander Rosa [EMAIL PROTECTED] wrote: I was talking with Jesus about his TAttrStringGrid (attached to issue 1360): http://www.lazarus.freepascal.org/mantis/view.php?id=1360 Maybe it could be part of LCL? I mean, we could have the standard, Delphi-compatible TStringGrid AND a new grid, descendant of the standard, with extra features. Or even an entire set (maybe a whole tab) of enhanced grids, like this: http://www.tmssoftware.com/gridpack.htm So TAttrStringGrid could be the first grid on this new tab, and others could be added as they were created. What about this? I second that. We need extended grid descendants. What means TAttrStringGrid? Mattias The other point discussed was if the features in TAttrStringGrid should be returned back to standard grids (originally had something like those features). In short, should enhanced features be added to standard grid? or as Alexander wrote create a new set of enhanced grids. Jesus Reyes A. ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
--- A.J. Venter [EMAIL PROTECTED] escribió: On Wednesday 22 February 2006 21:14, Marc Weustink wrote: A.J. Venter wrote: Hi, It seems that the lazarus tlistview's do not implement the customsort method - not even as a virtual, the result is that all the tutorials I could find on how to sort a tlistview by a columnclick do not work with lazarus since they all rely on tcustomsort (and I presume OnCompare). Is this a TODO ? Or is there a different way to do this in Lazarus ? This is a todo. I tried to implement sorting, read about it on how to do it on gtk and found that it differs much from win32. So I tried to find a nice way were both would fit in a VCL compatible way. And then I had other business or so. Okay then, so basically right now the only way would be to clear, create a sorted list and refill ? I suppose that can work as a temporary measure since sorting in my app is actually quite critical, unless somebody has a better idea. (This is for OpenBook - to allow people to sort search results by a field of their choice - obviously it would hugely improve the overall usability). Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 Have you considered using a stringgrid? or some derived from it like TSemaphorGrid (lazarus/examples/grid_semaphor) Jesus Reyes A. ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
On Wednesday 22 February 2006 21:30, Jesus Reyes wrote: Have you considered using a stringgrid? or some derived from it like TSemaphorGrid (lazarus/examples/grid_semaphor) I looked at them right in the beginning, but I don't think they will be able to do what I am after look and feel wise (this: http://www.silentcoder.co.za/tiki/show_image.php?id=568) Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Enhanced versions of TStringGrid
On Wed, 22 Feb 2006, Jesus Reyes wrote: --- Mattias Gaertner [EMAIL PROTECTED] escribió: On Wed, 22 Feb 2006 14:57:49 -0300 Alexsander Rosa [EMAIL PROTECTED] wrote: I was talking with Jesus about his TAttrStringGrid (attached to issue 1360): http://www.lazarus.freepascal.org/mantis/view.php?id=1360 Maybe it could be part of LCL? I mean, we could have the standard, Delphi-compatible TStringGrid AND a new grid, descendant of the standard, with extra features. Or even an entire set (maybe a whole tab) of enhanced grids, like this: http://www.tmssoftware.com/gridpack.htm So TAttrStringGrid could be the first grid on this new tab, and others could be added as they were created. What about this? I second that. We need extended grid descendants. What means TAttrStringGrid? Mattias The other point discussed was if the features in TAttrStringGrid should be returned back to standard grids (originally had something like those features). In short, should enhanced features be added to standard grid? or as Alexander wrote create a new set of enhanced grids. My 2 cents: Don't make too many grids, I don't want to be faced with the situation where each grid has a part of the functionality I want, but none has _everything_ I need combined. But also don't copy the TMSSoftware grid. It's good, but for instance the database version is not good. It's also a bad design in the sense that it has a plethora of options, but they are not grouped at all, so you are lost in the huge amount of properties, making it hard to manage. Try to group properties, so they can be managed easily. Maybe some kind of plug-in architecture for functionality would be nice. The TMS grid has this. Michael.
Re: [lazarus] Enhanced versions of TStringGrid
TStringGridPlus is a much better name :-) Alexsander Rosa wrote: I was talking with Jesus about his TAttrStringGrid (attached to issue 1360): http://www.lazarus.freepascal.org/mantis/view.php?id=1360 Maybe it could be part of LCL? I mean, we could have the standard, Delphi-compatible TStringGrid AND a new grid, descendant of the standard, with extra features. Or even an entire set (maybe a whole tab) of enhanced grids, like this: http://www.tmssoftware.com/gridpack.htm So TAttrStringGrid could be the first grid on this new tab, and others could be added as they were created. What about this? -- Atenciosamente, Alexsander da Rosa -- Thomas Miller Chrome Portal Project Manager Wash DC Delphi SIG Chairperson Delphi Client/Server Certified Developer BSS Accounting Distribution Software BSS Enterprise Accounting FrameWork http://www.bss-software.com http://www.cpcug.org/user/delphi/index.html http://sourceforge.net/projects/chromeportal/ http://sourceforge.net/projects/uopl/ http://sourceforge.net/projects/dbexpressplus _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
--- A.J. Venter [EMAIL PROTECTED] escribió: On Wednesday 22 February 2006 21:30, Jesus Reyes wrote: Have you considered using a stringgrid? or some derived from it like TSemaphorGrid (lazarus/examples/grid_semaphor) I looked at them right in the beginning, but I don't think they will be able to do what I am after look and feel wise (this: http://www.silentcoder.co.za/tiki/show_image.php?id=568) Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 I don't see anything in the screenshot that TStringGrid can't do :D Jesus Reyes A. ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
I don't see anything in the screenshot that TStringGrid can't do :D Jesus Reyes A. Okay, I must be stupid then :) I always rather thought of TStringGrid as a tool for letting users INPUT data, while TListView is a tool for PRESENTING data that must not be editable - I think users might be confused by the spreadsheet like cells if they cannot edit them. Though to be honest the biggest single reason is probably that I have hardly ever used the stringgrid components so I don't actually know them very well and the idea of rewriting the population code in it scares me a little :) Mind you if you feel like contributing to a free software project by doing the conversion for me - well I never say no to useful contributions :p Okay, enough contrib-whoreing, you may just be right though - and I should probably just go ahead and figure it out. Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
On Wed, 22 Feb 2006 22:22:04 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Mind you if you feel like contributing to a free software project by doing the conversion for me - well I never say no to useful contributions :p Okay, enough contrib-whoreing, you may just be right though - and I should probably just go ahead and figure it out. I do have to remark that a TListView is more native than a StringGrid. At least, on windows xp a listview looks much nicer. A stringgrid is always completely LCL-drawn. Micha _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
On Wednesday 22 February 2006 22:29, Micha Nelissen wrote: On Wed, 22 Feb 2006 22:22:04 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Mind you if you feel like contributing to a free software project by doing the conversion for me - well I never say no to useful contributions :p Okay, enough contrib-whoreing, you may just be right though - and I should probably just go ahead and figure it out. I do have to remark that a TListView is more native than a StringGrid. At least, on windows xp a listview looks much nicer. A stringgrid is always completely LCL-drawn. Having now taken a much more indepth look at tstringgrid, I think it could work - but only at the cost of hugely complexifying my program - unless somebody is really eager to do it for me, I don't think it's worth it. I would rather help with implementing sorting for tlistview so I can have it for my next version. My feel btw: to keep code platform neutral, don't use the native sorting methods, but do a sort based on pure data manipulation. I could even do that in the app (as opposed to a clear and refill method) although that is harder to do it is certainly not impossible and a quicksort is practically the first algorithm any of us learned after all :) Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
--- Micha Nelissen [EMAIL PROTECTED] escribió: On Wed, 22 Feb 2006 22:22:04 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Mind you if you feel like contributing to a free software project by doing the conversion for me - well I never say no to useful contributions :p Okay, enough contrib-whoreing, you may just be right though - and I should probably just go ahead and figure it out. No problem, send me some code to convert and I will try, if you doesn't like it (see below), you can always try to do the sorting as you alredy planned and continue with Tlistview :) I do have to remark that a TListView is more native than a StringGrid. At least, on windows xp a listview looks much nicer. A stringgrid is always completely LCL-drawn. Micha That's completly true, though a grid can be completly customized to the last pixel it will never be the same :D. If somebody knows how to draw nice themed winxp TListView headers, please tell us. Jesus Reyes A. ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
On Wednesday 22 February 2006 22:55, Jesus Reyes wrote: Okay, enough contrib-whoreing, you may just be right though - and I should probably just go ahead and figure it out. No problem, send me some code to convert and I will try, if you doesn't like it (see below), you can always try to do the sorting as you alredy planned and continue with Tlistview :) Well in that case, you can check out the code from my subversion server: svn co svn://silentcoder.co.za/tools/openbook You will also need to checkout and install my component packs: svn co svn://silentcoder.co.za/lazarus In order to actually compile it as it uses both olpack and gzpack quite extensively (though not for anything that affects what you are looking at). The code tree includes samples of all the needed support files including an index (though not the nearly 4gb of data it is an index FOR of course - but you shouldn't need that for testing - just verifying that the thing opens with the right parameters ought will do it). For the rest it should be fairly simple to make sense of but shout if you want to check anything, I am also on IM: Yahoo: silentcoder Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] Ciao and thanks A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
Ciao and thanks A.J. Sorry about that, I intended to mail Jesus directly and forgot that lazarus uses reply-to setting. A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage.
OK, let's take it from the start. I downloaded your version of ip. Uninstalled ip already intalled. Installed yours. Then I opened your example. While opening I got the error message: Class: TButton Error reading OpenHTMLButton1.BorderSpacing.InnerBorder: Unknown This is repeated three times (one for each button). Probably it is not related to the issue discussed here, I'm mentioning it just in case. Finally, I got example opened in Lazarus, made corrections because of previous errors and compiled. Opening the program I see your default html file. Opening my html file I got same results. I could not make it to work. What I ever managed to do is to display one byte per character but I can only see western latin 1 char set, not greek. I believe that if current char set can change then I could see proper greek characters. I also checked representation like #250; by which I can see proper western latin 1 set. Despite I can see .charset propery into iphtml.pas, it is not affecting results, at least I think. So, allow me to ask another favour. Please try again Στις 22-02-2006, ημέρα Τετ, και ώρα 11:55 -0600, ο/η Jesus Reyes έγραψε: --- Panagiotis Sidiropoulos [EMAIL PROTECTED] escribió: http://mx.geocities.com/jesusrmx/lazarus/images/tpipro_gtk1_greekcharset.png I'm trying to get into the result of above screenshot but I could not make it. Because I tried several things now I'm totally confused, really. I suggest to start over again based on this successful example. So, I ask to support me with or confirm following information: - this is Lazarus /examples/turbopower... example, correct? Yes, in my local copy I usually test new features and I need to make changes to the sample project but then I realize that those changes are not important in the way I tested so I sometimes don't commit it. - a new option is added, this on top with checkbox. Can you please send this piece of code? What happens when check is on/off? Are you just set DefaultTypeFace property? The checkbox label in the screenshot is a little misleading it should be Use Font, so when checked use the font user write in the text edit and when unchecked it should use default font. This work only if the html page doesn't specify a font or the specified font don't exists. - please send to me html file used on this screenshot to compare and find changes in it's headers. No problem, I'm sending you in private the source code for both the tpipro sample and iphtml.pas. - please send font Caret directly to my email address. Sorry I don't understand this part, you mean the font file? if yes I wouldn't know how to handle this request. I apologize if you thing I asked for material I already should have. Considering I could get into this level, I suppose something is changed. No need to apologize, but I would suggest you to try to learn how use SVN to be in sync with Lazarus source code repository, I'm suggesting you this because as result of all, this tpipro might get improved so it can handle at least some charsets or give the user the opportunity to specify a default charset. So changes will probably be made and I think you will need them. In this link there is an explanation on this : http://wiki.lazarus.freepascal.org/index.php/Getting_Lazarus I hope after this to be free to sleep for a while :-) Regards, Panagiotis Regards. Jesus Reyes A. ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu correo por $100 al mes. http://net.yahoo.com.mx _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] bugfix 0001752
Darius Blaszijk wrote: This patch solves bug0001752. I've also added a header to the unit and fixed the anchoring and layout. Thanks, applied. Vincent. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Enhanced versions of TStringGrid
- Original Message - From: Thomas Miller [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Wednesday, February 22, 2006 2:04 PM Subject: Re: [lazarus] Enhanced versions of TStringGrid TStringGridPlus is a much better name :-) I don't really know why the field to: is set to your personal address but anyway as I intended to send this to ml I'm doing again. I Like the proposed name :). Component name change is now scheduled. Jesus Reyes A. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.com.mx/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage.
- Original Message - From: Panagiotis Sidiropoulos [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Wednesday, February 22, 2006 6:30 PM Subject: RE: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage. OK, let's take it from the start. I downloaded your version of ip. Uninstalled ip already intalled. Installed yours. Then I opened your example. While opening I got the error message: Class: TButton Error reading OpenHTMLButton1.BorderSpacing.InnerBorder: Unknown This is repeated three times (one for each button). Probably it is not related to the issue discussed here, I'm mentioning it just in case. Then probably we are not using the same FPC version, but this should not matter as far as the Charset support is in your LCL copy. Finally, I got example opened in Lazarus, made corrections because of previous errors and compiled. Opening the program I see your default html file. Opening my html file I got same results. I could not make it to work. What I ever managed to do is to display one byte per character but I can only see western latin 1 char set, not greek. I believe that if current char set can change then I could see proper greek characters. I also checked representation like #250; by which I can see proper western latin 1 set. Despite I can see .charset propery into iphtml.pas, it is not affecting results, at least I think. How do we know if you have an LCL with charset support?, Open file lazarus/lcl/lcltype.pp if there is a function: function StringToCharset(Charset: string): Byte; then you have a correct lcl. I think you have a lcl with charset support or else the compiler should complain but we are just reviewing the check list :) I sent you two versions of you sample-html file, one stripped face attribute and one as it was, you should open the stripped one. Open the file with some editor you should find that there are not anymore face=Arial attribute. Another thing to check is the default font you are using (I mean in the edit text and once the checkbox is checked) does it support GREEK_CHARSET. For this is critical the program fontsenum in lazarus examples directory, it will tell you what fonts do support GREEK_CHARSET. Apart from that I'm out of ideas, but we can continue in private if you want. Regards. Jesus Reyes A. So, allow me to ask another favour. Please try again Στις 22-02-2006, ημέρα Τετ, και ώρα 11:55 -0600, ο/η Jesus Reyes έγραψε: --- Panagiotis Sidiropoulos [EMAIL PROTECTED] escribió: http://mx.geocities.com/jesusrmx/lazarus/images/tpipro_gtk1_greekcharset.png I'm trying to get into the result of above screenshot but I could not make it. Because I tried several things now I'm totally confused, really. I suggest to start over again based on this successful example. So, I ask to support me with or confirm following information: - this is Lazarus /examples/turbopower... example, correct? Yes, in my local copy I usually test new features and I need to make changes to the sample project but then I realize that those changes are not important in the way I tested so I sometimes don't commit it. - a new option is added, this on top with checkbox. Can you please send this piece of code? What happens when check is on/off? Are you just set DefaultTypeFace property? The checkbox label in the screenshot is a little misleading it should be Use Font, so when checked use the font user write in the text edit and when unchecked it should use default font. This work only if the html page doesn't specify a font or the specified font don't exists. - please send to me html file used on this screenshot to compare and find changes in it's headers. No problem, I'm sending you in private the source code for both the tpipro sample and iphtml.pas. - please send font Caret directly to my email address. Sorry I don't understand this part, you mean the font file? if yes I wouldn't know how to handle this request. I apologize if you thing I asked for material I already should have. Considering I could get into this level, I suppose something is changed. No need to apologize, but I would suggest you to try to learn how use SVN to be in sync with Lazarus source code repository, I'm suggesting you this because as result of all, this tpipro might get improved so it can handle at least some charsets or give the user the opportunity to specify a default charset. So changes will probably be made and I think you will need them. In this link there is an explanation on this : http://wiki.lazarus.freepascal.org/index.php/Getting_Lazarus I hope after this to be free to sleep for a while :-) Regards, Panagiotis Regards. Jesus Reyes A. ___ Do You Yahoo!? La mejor conexión a Internet y b 2GB/b extra a tu
Re: [lazarus] TListView.CustomSort
tstringgrid has most of the features you want in it built in apparently... i was just looking at it's code. It can sort on any column. It can either do a standard ascii comparison or you provide a routine which will compare the values and tell if they are , =, you can provide your own draw routine to draw special items instead of strings. HOWEVER, the sort routine doesn't seem to be working correctly. it sorts differently each time i call it. :-) ---dale _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TListView.CustomSort
- Original Message - From: Dale Welch [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Wednesday, February 22, 2006 9:21 PM Subject: Re: [lazarus] TListView.CustomSort tstringgrid has most of the features you want in it built in apparently... i was just looking at it's code. It can sort on any column. It can either do a standard ascii comparison or you provide a routine which will compare the values and tell if they are , =, you can provide your own draw routine to draw special items instead of strings. HOWEVER, the sort routine doesn't seem to be working correctly. it sorts differently each time i call it. :-) ---dale Are you using a recent Lazarus version?, On January 6, revision 8455 it was added to stringgrid a function (DoCompareCells) which fixes the radom sorting problem. However when doing Sorting through OnCompareCells and provided that OnCompareCells handler is correctly implemented it should work right, if not it's a bug and please submit a bug report about it (with a sample project it that is not too much to ask :D). Jesus Reyes A. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.com.mx/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Compile without link
I'll see if I can implement something like this and post the patch. Regards, - Graeme - On 2/22/06, Uwe Grauer [EMAIL PROTECTED] wrote: SteveG wrote: Exactly - a shortcut (perhaps Shift-Ctrl-F9) to compile only - otherwise it is necessary to insert / remove the compiler switch (which sort of defeats the fast check attempt) Graeme Geldenhuys wrote: The -s option in the Project - Compiler Options - Other - Custom options will do that, but maybe a option in the Run menu would be nice, or some keyboard shortcut. Regards, - Graeme - +1 from me on this one. I would find this really helpful too. Uwe _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Sqlite in ReportManager
Does that mean you are using ReportManager with Lazarus? I used ReportManager in my previous Delphi/Kylix project and it worked really well. My reporting was done from Objects and not a Dataset though - and all generated at runtime. Can you compile ReportManager under Lazarus? I haven't tried yet. Regards, - Graeme - On 2/22/06, SteveG [EMAIL PROTECTED] wrote: Has anybody managed to get ReportManager (http://reportman.sourceforge.net/) to work with Sqlite databases ? not 'directly' related to Laz/Fpc, but what the hey - most database programs need reports eventually _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Sqlite in ReportManager
Sorry, not using Laz to compile RM, just using the supplied Designer and running from data created with Laz There is some talk on the RM yahoo group about getting it to work with Laz/Fpc though Graeme Geldenhuys wrote: Does that mean you are using ReportManager with Lazarus? I used ReportManager in my previous Delphi/Kylix project and it worked really well. My reporting was done from Objects and not a Dataset though - and all generated at runtime. Can you compile ReportManager under Lazarus? I haven't tried yet. Regards, - Graeme - On 2/22/06, SteveG [EMAIL PROTECTED] wrote: Has anybody managed to get ReportManager (http://reportman.sourceforge.net/) to work with Sqlite databases ? not 'directly' related to Laz/Fpc, but what the hey - most database programs need reports eventually _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Compile without link
This would be similar to Delphi's syntax check which would be a nice to have feature. Regards, Paul On Wednesday 22 February 2006 13:19, SteveG wrote: Exactly - a shortcut (perhaps Shift-Ctrl-F9) to compile only - otherwise it is necessary to insert / remove the compiler switch (which sort of defeats the fast check attempt) Graeme Geldenhuys wrote: The -s option in the Project - Compiler Options - Other - Custom options will do that, but maybe a option in the Run menu would be nice, or some keyboard shortcut. Regards, - Graeme - On 2/22/06, SteveG [EMAIL PROTECTED] wrote: sounds close to what I am after - is there any way to just compile (not link) even if no errors found? - same thing, just testing for basic errors in ongoing code Florian Klaempfl wrote: SteveG wrote: I have noticed that many of my 'typos' are caught at the compile stage - then have to wait for the linker (for no reason at this point, since I already know I have problems) If the program doesn't compile, it isn't linked? -s does the trick on the command line. Christian Iversen wrote: On Wednesday 22 February 2006 13:18, SteveG wrote: Can anybody tell me how (if possible) to compile a Laz program, but skip the linking step ? I'm not sure exactly how to do that. What are you trying to do? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Enhanced versions of TStringGrid
Jesus Reyes wrote: TStringGridPlus is a much better name :-) I don't really know why the field to: is set to your personal address but anyway as I intended to send this to ml I'm doing again. I Like the proposed name :). Component name change is now scheduled. Maybe it's nice but not very descriptive IMHO. TAttrStringGrid at least has some description in it... Otherwise every addition in a descendant to TStringGrid can be called TStringGridPlus. TMaskEdit is also not called TEditPlus ... Micha _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives