Re: [lazarus] Why is this code failing in Windows
- Original Message - From: Marc Santhoff [EMAIL PROTECTED] To: Jeff Steinkamp [EMAIL PROTECTED] Cc: Lazarus Mailing List lazarus@miraclec.com Sent: Friday, October 19, 2007 20:58 Subject: Re: [lazarus] Why is this code failing in Windows Am Freitag, den 19.10.2007, 20:00 -0700 schrieb Jeff Steinkamp: program splog; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, Unit1, //contains the main form Unit2, //contains the splashscreen pers, selfile, lnetvisual, config, dup, flags, sdf, chapsetup, listinput; begin Application.Initialize; frmSplash := TfrmSplash.Create(application); frmSplash.Show; //fails on this line frmSplash.update; Application.CreateForm(TfrmMain, frmMain); Application.CreateForm(TfrmChapterSetup, frmChapterSetup); Application.Run; end. Try that order. HTH (only guessing), Marc Thanks Marc That has cured the problem -- Interesting !!! Jeff _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Win32 Lazarus IDE Set Breakpoint minor quibble
James Chandler Jr wrote: be to add just a few more pixels of white space to the left of lines in the source code panel. That would provide a bigger target to 'hit' the whitespace before the line, rather than accidentally clicking the gutter instead. The gutter width is configurable in editor options. Is that what you mean ? Micha _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] The reliability of this mailing list
On 19/10/2007, Adrian Maier [EMAIL PROTECTED] wrote: How reliably does the lazarus@miraclec.com mailing list work? A few days ago i've posted a question that was re-sent quickly to everybody , and also received some good answers very quickly. I've had myself randomly unsubscribed from the mailing list. Though in that case, I would have thought the mailing list 'server' would reply and say I am not allowed to send messages, but it never does that. To this day, if I don't get a response within about 2-3 days, I check on GMANE to see if the message actually got through. Lately it's been working fine for me again. However, yesterday i've posted another question which didn't appear yet. Do each posting need to be accepted manually by a moderator ?! As far as I know, only HTML messages get moderated. So the bottom line, *always* send emails in plain text! :-) You get the same message across, it's smaller in size and everybody can read it. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] The reliability of this mailing list
On 10/20/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 19/10/2007, Adrian Maier [EMAIL PROTECTED] wrote: How reliably does the lazarus@miraclec.com mailing list work? A few days ago i've posted a question that was re-sent quickly to everybody , and also received some good answers very quickly. I've had myself randomly unsubscribed from the mailing list. Though in that case, I would have thought the mailing list 'server' would reply and say I am not allowed to send messages, but it never does that. To this day, if I don't get a response within about 2-3 days, I check on GMANE to see if the message actually got through. Lately it's been working fine for me again. It's a good idea to verify the message with Gmane. It looks like i am still subscribed, but my original question didn't make it through the list. Also, it looks like sometimes i'm receiving messages in batches : the last 9-10 threads arrived during this night all , after at least one day with no list activity. However, yesterday i've posted another question which didn't appear yet. Do each posting need to be accepted manually by a moderator ?! As far as I know, only HTML messages get moderated. So the bottom line, *always* send emails in plain text! :-) You get the same message across, it's smaller in size and everybody can read it. I prefer text emails as well :) Best wishes, Adrian Maier _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Win32 Lazarus IDE Set Breakpoint minor quibble
Micha Nelissen rašė: James Chandler Jr wrote: be to add just a few more pixels of white space to the left of lines in the source code panel. That would provide a bigger target to 'hit' the whitespace before the line, rather than accidentally clicking the gutter instead. The gutter width is configurable in editor options. Is that what you mean ? Micha First column of source editor is too close to right border of gutter. If i want select word that begins from first column (eg function or procedure) or place text cursor before character at first column i must pay more attention otherwise i accidentally set breakpoint at this line. -- Valdas Jankūnas _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
Yury Sidorov wrote: Hi, Today I made the first public release of KOL-CE library. KOL-CE is Free Pascal/Lazarus port of KOLMCK devloped by Vladimir Kladov (http://kolmck.net). KOL-CE allows to create very compact Win32/WinCE GUI applications (starting from ~40KB executable for project with empty form). MCK is Lazarus package wich allows VISUAL development of KOL-CE projects in Lazarus IDE. Initially KOL-CE was planned as KOL port for WinCE only. But later it was decided to keep Win32 functionality and made it work with FPC smoothly. Original KOL is targeted for Delphi and does not work with FPC very well. Original MCK can not be used with Lazarus at all. Yury Sidorov. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives Hi! What is the state of that project? Is it beta? Is it usable? Does it have many bugs? Marton Papp _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
From: [EMAIL PROTECTED] Yury Sidorov wrote: Hi, Today I made the first public release of KOL-CE library. KOL-CE is Free Pascal/Lazarus port of KOLMCK devloped by Vladimir Kladov (http://kolmck.net). KOL-CE allows to create very compact Win32/WinCE GUI applications (starting from ~40KB executable for project with empty form). MCK is Lazarus package wich allows VISUAL development of KOL-CE projects in Lazarus IDE. Initially KOL-CE was planned as KOL port for WinCE only. But later it was decided to keep Win32 functionality and made it work with FPC smoothly. Original KOL is targeted for Delphi and does not work with FPC very well. Original MCK can not be used with Lazarus at all. What is the state of that project? Is it beta? Is it usable? Does it have many bugs? It is stable enough for production use. Yury. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
Yury Sidorov wrote: Hi, Today I made the first public release of KOL-CE library. KOL-CE is Free Pascal/Lazarus port of KOLMCK devloped by Vladimir Kladov (http://kolmck.net). KOL-CE allows to create very compact Win32/WinCE GUI applications (starting from ~40KB executable for project with empty form). MCK is Lazarus package wich allows VISUAL development of KOL-CE projects in Lazarus IDE. Initially KOL-CE was planned as KOL port for WinCE only. But later it was decided to keep Win32 functionality and made it work with FPC smoothly. Original KOL is targeted for Delphi and does not work with FPC very well. Original MCK can not be used with Lazarus at all. Yury Sidorov. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives Hi! I did not get very far. I got error creating component TKOLForm. Regards Marton Papp _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
From: [EMAIL PROTECTED] Hi! I did not get very far. I got error creating component TKOLForm. Please report bugs, submit patches and ask questions at project's page at SourceForge: http://sourceforge.net/projects/kol-ce/ Yury. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
From: [EMAIL PROTECTED] I did not get very far. I got error creating component TKOLForm. Grr. I updated to latest svn version of Lazarus and indeed there is AV error when trying to drop TKOLForm component on the form. I'll fix it ASAP. Yury. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
Yury Sidorov wrote: From: Yury Sidorov [EMAIL PROTECTED] From: [EMAIL PROTECTED] I did not get very far. I got error creating component TKOLForm. Grr. I updated to latest svn version of Lazarus and indeed there is AV error when trying to drop TKOLForm component on the form. I'll fix it ASAP. False alarm :) AV error during TKOLForm creation indicates that you forgot to set projectDest property of TKOLProject component. I fixed this AV to proper message in svn trunk, but it is not critical bug for the current release version which can be safelu used. As I mentioned before, please use project's page at SourceForge: http://sourceforge.net/projects/kol-ce/ for KOL-CE support questions and bug reports. Yury. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives Ok, I see you are right. So why are the executables smaller with KOL than with Lazarus? Marton Papp _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
From: [EMAIL PROTECTED] Yury Sidorov wrote: False alarm :) AV error during TKOLForm creation indicates that you forgot to set projectDest property of TKOLProject component. I fixed this AV to proper message in svn trunk, but it is not critical bug for the current release version which can be safelu used. As I mentioned before, please use project's page at SourceForge: http://sourceforge.net/projects/kol-ce/ for KOL-CE support questions and bug reports. Ok, I see you are right. So why are the executables smaller with KOL than with Lazarus? Because KOL library is used, not LCL :) KOL is very optimized for smartlinking and code size and have simpler internal structure. Using SysUtils and Classes units are not required for KOL programs. Almost all needed stuff can be found in KOL unit directly... You can learn more info about KOL at original KOL site http://kolmck.net Yury. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
Because KOL library is used, not LCL :) KOL is very optimized for smartlinking and code size and have simpler internal structure. I think it could be an good idea to add an second method of formhandling to lazarus that generates .pas sources that creates and destroys forms instead of .lfm and remove all RegisterClass calls from the LCL with an #ifdef so fpc can remove ununsed parts of the lcl while linking. I think than executable size can be nearly the same with lcl. This formhandling makes no sense for Desktop Applications but for Mobile Apps. RTTI is not possible with this but i think nearly nobody needs rtti on mobile devices... What do you think about this idea ? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
On Fri, 19 Oct 2007, Yury Sidorov wrote: Hi, Today I made the first public release of KOL-CE library. KOL-CE is Free Pascal/Lazarus port of KOLMCK devloped by Vladimir Kladov (http://kolmck.net). KOL-CE allows to create very compact Win32/WinCE GUI applications (starting from ~40KB executable for project with empty form). MCK is Lazarus package wich allows VISUAL development of KOL-CE projects in Lazarus IDE. Initially KOL-CE was planned as KOL port for WinCE only. But later it was decided to keep Win32 functionality and made it work with FPC smoothly. Original KOL is targeted for Delphi and does not work with FPC very well. Original MCK can not be used with Lazarus at all. Congratulations. I know some people that were waiting for this... I'll try to demonstrate it on Systems next week. Any plans to port to X11 (linux/bsd/mac) ? Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
From: Michael Van Canneyt [EMAIL PROTECTED] On Fri, 19 Oct 2007, Yury Sidorov wrote: Hi, Today I made the first public release of KOL-CE library. KOL-CE is Free Pascal/Lazarus port of KOLMCK devloped by Vladimir Kladov (http://kolmck.net). KOL-CE allows to create very compact Win32/WinCE GUI applications (starting from ~40KB executable for project with empty form). MCK is Lazarus package wich allows VISUAL development of KOL-CE projects in Lazarus IDE. Initially KOL-CE was planned as KOL port for WinCE only. But later it was decided to keep Win32 functionality and made it work with FPC smoothly. Original KOL is targeted for Delphi and does not work with FPC very well. Original MCK can not be used with Lazarus at all. Congratulations. I know some people that were waiting for this... I'll try to demonstrate it on Systems next week. Thanks. Any plans to port to X11 (linux/bsd/mac) ? There was some efforts in past to port KOL to use QT. Even with some success. Also there is some basic GTK support in KOL (Basic things like canvas,font,brush. No controls yet). If someone interested he can try to continue this efforts. Yury. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Win32 Lazarus IDE Set Breakpoint minor quibble
Hi Micha Valdas explained it perfectly. Here is an illustration: http://www.errnum.com/tmpimages/LazEditorLineSpacing.png The amount of white space at the beginning of the line might depend on the font. Perhaps there are fonts which naturally display 'adequate' white space in this window. I usually use old ancient Apple Monaco on both PC and Mac, because it is so easy to read, but Bitstream Vera Sans Mono is also pretty good. On both of those fonts, the lines display very close to the gutter. Thanks jcjr - Original Message - From: Valdas Jankūnas [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Saturday, October 20, 2007 5:21 AM Subject: Re: [lazarus] Win32 Lazarus IDE Set Breakpoint minor quibble Micha Nelissen rašė: James Chandler Jr wrote: be to add just a few more pixels of white space to the left of lines in the source code panel. That would provide a bigger target to 'hit' the whitespace before the line, rather than accidentally clicking the gutter instead. The gutter width is configurable in editor options. Is that what you mean ? Micha First column of source editor is too close to right border of gutter. If i want select word that begins from first column (eg function or procedure) or place text cursor before character at first column i must pay more attention otherwise i accidentally set breakpoint at this line. -- Valdas Jankūnas _ 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
[lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Hi all, this is possibly a silly error on my part. I have just updated to the latest snapshot version of Lazarus/FPC. When I try and compile my Mac OS X project the unit carbonprinters_h.inc is opened and the TCarbonPrinter class is highlighted and the console window error message is : carbonprinters_h.inc(7,3 Fatal : Syntax Error, 'IMPLEMENTATION' expected but identifier TCarbonPrinter found this include file is definitely missing an implementation section. Btw, what does {%MainUnit ../osprinters.pp} imply? When I looked in that directory all I found was osprinters.pas not osprinters.pp. FPC compiler is listed as 2.2.1 and the Lazarus editor is listed as v0.9.23 beta. Dominique. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Are you trying to use the osprinters unit? Don't do that. Use the Printers and/or PrintersDlgs units or else Lazarus will try to compile osprinters with the non-implemented Carbon printer files. You'll also probably have to put something like this in Other Unit Files path: $(LazarusDir)/components/printers/lib/$(TargetCPU)-$(TargetOS)/ Now Lazarus can find the compiled units. Thanks. -Phil -Oorspronkelijk bericht- Van: Dominique Louis [mailto:[EMAIL PROTECTED] Verzonden: za 20-10-2007 10:43 Aan: lazarus@miraclec.com Onderwerp: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot... Hi all, this is possibly a silly error on my part. I have just updated to the latest snapshot version of Lazarus/FPC. When I try and compile my Mac OS X project the unit carbonprinters_h.inc is opened and the TCarbonPrinter class is highlighted and the console window error message is : carbonprinters_h.inc(7,3 Fatal : Syntax Error, 'IMPLEMENTATION' expected but identifier TCarbonPrinter found this include file is definitely missing an implementation section. Btw, what does {%MainUnit ../osprinters.pp} imply? When I looked in that directory all I found was osprinters.pas not osprinters.pp. FPC compiler is listed as 2.2.1 and the Lazarus editor is listed as v0.9.23 beta. Dominique. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives winmail.dat
Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
--- Dominique Louis [EMAIL PROTECTED] escribió: Hi all, this is possibly a silly error on my part. I have just updated to the latest snapshot version of Lazarus/FPC. When I try and compile my Mac OS X project the unit carbonprinters_h.inc is opened and the TCarbonPrinter class is highlighted and the console window error message is : carbonprinters_h.inc(7,3 Fatal : Syntax Error, 'IMPLEMENTATION' expected but identifier TCarbonPrinter found this include file is definitely missing an implementation section. The problem should be fixed in svn. The printer carbon specific implementation is empty though. Btw, what does {%MainUnit ../osprinters.pp} imply? When I looked in that directory all I found was osprinters.pas not osprinters.pp. AFAIK, {%Mainunit *} is a hint for the lazarus codetools to find the unit that includes the current inc file. Should be fixed by now also. FPC compiler is listed as 2.2.1 and the Lazarus editor is listed as v0.9.23 beta. Dominique. Jesus Reyes A. ¡Sé un mejor fotógrafo! Perfecciona tu técnica y encuentra las mejores fotos. http://mx.yahoo.com/promos/mejorfotografo.html _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Carbon IDE
PaulIsh added a list of issues with the Carbon-based Lazarus IDE and I've added to it. Please add any other issues you discover so we can have a complete list of everything that needs to be addressed for a working and Mac-ready IDE: http://wiki.lazarus.freepascal.org/Carbon_interface_internals#Carbon_IDE_Bugs Thanks. -Phil
[lazarus] Focus to TStringGrid cell
Hi all, How can I move the focus to specified cell in TStringGrid? Like if I have a 4x4 grid, how do I focus a cell in row 3, column 4. Regards, YH
Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Hi Philip, Hess, Philip J wrote: Are you trying to use the osprinters unit? Don't do that. Use the Printers and/or PrintersDlgs units or else Lazarus will try to compile osprinters with the non-implemented Carbon printer files. I'm not specifically trying to to use it. I had a pre-existing project that worked fine last night with an older snapshot from about 2 weeks ago. Since I wanted the transparency fix I thought I would upgrade to the latest snapshop and came across this problem. I have Printer4Lazarus included in my project file and internally that references OsPrinters. Even if I remove the refernce to Printer4Lazarus from the project, it still finds OsPrinters, so this must be being referenced in some other units as well. Like I said, this worked flawlessly in the previous snapshot I had and I have not changed any code since last night. I simply installed the latest snaphop, opened lazarus and tried to compile the same project that compiled and ran fine yesterday. You'll also probably have to put something like this in Other Unit Files path: $(LazarusDir)/components/printers/lib/$(TargetCPU)-$(TargetOS)/ Adding this did not solve the problem. Dominique. Now Lazarus can find the compiled units. Thanks. -Phil -Oorspronkelijk bericht- Van: Dominique Louis [mailto:[EMAIL PROTECTED] Verzonden: za 20-10-2007 10:43 Aan: lazarus@miraclec.com Onderwerp: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot... Hi all, this is possibly a silly error on my part. I have just updated to the latest snapshot version of Lazarus/FPC. When I try and compile my Mac OS X project the unit carbonprinters_h.inc is opened and the TCarbonPrinter class is highlighted and the console window error message is : carbonprinters_h.inc(7,3 Fatal : Syntax Error, 'IMPLEMENTATION' expected but identifier TCarbonPrinter found this include file is definitely missing an implementation section. Btw, what does {%MainUnit ../osprinters.pp} imply? When I looked in that directory all I found was osprinters.pas not osprinters.pp. FPC compiler is listed as 2.2.1 and the Lazarus editor is listed as v0.9.23 beta. Dominique. Version: 7.5.488 / Virus Database: 269.15.3/1081 - Release Date: 19/10/2007 17:41 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Gracias Jesus, Do you happen to know at roughly what time the snapshots are done? Saludos, Dominique Jesus Reyes wrote: --- Dominique Louis [EMAIL PROTECTED] escribió: Hi all, this is possibly a silly error on my part. I have just updated to the latest snapshot version of Lazarus/FPC. When I try and compile my Mac OS X project the unit carbonprinters_h.inc is opened and the TCarbonPrinter class is highlighted and the console window error message is : carbonprinters_h.inc(7,3 Fatal : Syntax Error, 'IMPLEMENTATION' expected but identifier TCarbonPrinter found this include file is definitely missing an implementation section. The problem should be fixed in svn. The printer carbon specific implementation is empty though. Btw, what does {%MainUnit ../osprinters.pp} imply? When I looked in that directory all I found was osprinters.pas not osprinters.pp. AFAIK, {%Mainunit *} is a hint for the lazarus codetools to find the unit that includes the current inc file. Should be fixed by now also. FPC compiler is listed as 2.2.1 and the Lazarus editor is listed as v0.9.23 beta. Dominique. Jesus Reyes A. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Focus to TStringGrid cell
--- Yoyong Hernan [EMAIL PROTECTED] escribió: Hi all, How can I move the focus to specified cell in TStringGrid? Like if I have a 4x4 grid, how do I focus a cell in row 3, column 4. Regards, YH Try with: grid.Row:=2; grid.Col:=3; Jesus Reyes A. ¡Sé un mejor ambientalista! Encuentra consejos para cuidar el lugar donde vivimos. http://mx.yahoo.com/promos/mejorambientalista.html _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Dominique Louis schreef: Gracias Jesus, Do you happen to know at roughly what time the snapshots are done? Look here to see the times, which match the upload time pretty accurate: ftp://ftp.hu.freepascal.org/pub/lazarus/ Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Thanks Vincent. Vincent Snijders wrote: Dominique Louis schreef: Gracias Jesus, Do you happen to know at roughly what time the snapshots are done? Look here to see the times, which match the upload time pretty accurate: ftp://ftp.hu.freepascal.org/pub/lazarus/ Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Focus to TStringGrid cell
Thanks, it took me several week-ends before knowing this. I even installed Delphi Explorer :(. Thanks again Jesus! Regards, YH On 10/21/07, Jesus Reyes [EMAIL PROTECTED] wrote: --- Yoyong Hernan [EMAIL PROTECTED] escribió: Hi all, How can I move the focus to specified cell in TStringGrid? Like if I have a 4x4 grid, how do I focus a cell in row 3, column 4. Regards, YH Try with: grid.Row:=2; grid.Col:=3; Jesus Reyes A. ¡Sé un mejor ambientalista! Encuentra consejos para cuidar el lugar donde vivimos. http://mx.yahoo.com/promos/mejorambientalista.html _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Building Lazarus for linux-sparc
I've got Lazarus 0.9.23 building and generally running for Linux on a SPARC system, nothing special needed to be done although there's a few e.g. debugger issues that I need to investigate. Underlying FPC is 2.2.0 built from scratch. Reverting to 0.9.22 make all works without problems, but make bigide is a bit more tricky. I had to manually install a missing libc.o file plus a few related and had to change a makefile to get dbf.o etc. to build. However, I appear to be well and truly stuck with this: Assembling lazarus Linking ../lazarus /usr/local/share/lazarus-0.9.22-1/components/fpcunit/lib/sparc-linux/guitestrunner.o: In function `GUITESTRUNNER_init': guitestrunner.pas:673: relocation truncated to fit: R_SPARC_WDISP22 against symbol `CLASSES_TCOMPONENT_$___ADDREF$$LONGINT' defined in .text section in /usr/local/lib/fpc/2.2.0/units/sparc-linux/rtl/classes.o guitestrunner.pas:673: relocation truncated to fit: R_SPARC_WDISP22 against symbol `CLASSES_TCOMPONENT_$___RELEASE$$LONGINT' defined in .text section in /usr/local/lib/fpc/2.2.0/units/sparc-linux/rtl/classes.o lazarus.pp(114,42) Error: Error while linking lazarus.pp(114,42) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/usr/local/share/lazarus-0.9.22-1/ide' I've got a horrid feeling that I'm out of my depth with this one, any thoughts (or sympathy) would be appreciated. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] KOL-CE release
En/na Michael Van Canneyt ha escrit: Any plans to port to X11 (linux/bsd/mac) ? and maemo/hildon (aka gnome mobile)? Bye -- Luca _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Form.Align without effect
On Thu, 18 Oct 2007 09:59:48 +0200 Thomas Moritz [EMAIL PROTECTED] wrote: This setting: Form1.Align:=alClient; //or alTop was ignored. You can help? Thanks. Linux/ FPC 2.2.0 / Lazarus 0.9.23 Beta Can you provide a complete example? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Close component?
On Thu, 18 Oct 2007 20:39:28 +0200 Tobias Giesen [EMAIL PROTECTED] wrote: Hello, I think this is a bug report, but also a question. When I start Lazarus and it loads my project, the first thing it does often is ask me the following: Close component? Close component FMainForm:TFMainForm? The bug report is that Lazarus should never ask this question when loading a project. The question is: under what circumstances does this dialog box make any sense? It should be asked, if you close (i.e. free) a form, that is needed by another form (e.g. inherited). Can you give a complete example? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] i18n Question
On Tue, 2007-10-16 at 01:03 +0200, Mattias Gaertner wrote: On Mon, 15 Oct 2007 16:28:23 +0100 Luis Rodrigues [EMAIL PROTECTED] wrote: We're using FOnReadStringProperty from reader.inc to translate the string properties, how about TStrings how can this be done? Ideas please. First define requirements: - Some TStrings should not be translated - Some TStrings should be translated line by line (TCombobox, TListBox) - Some TStrings should be translated as text (TMemo) To FPC team: Is it possible to use TTranslateStrings = type TStrings? I ask because, the compiler allows it, but stops later with a not helping message: lcl/interfaces/gtk2/interfaces.pas(1,1) Fatal: Compilation aborted Are there any fpc devs on this list? Should I ask this somewhere else? Luis Mattias _ 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