Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus

lazarus · 2013-02

  1. Thanks for the autocompletion!

    Was typing case EventType of then pressed Ctrl-J on a whim. Voila: case EventType of etCustom: ; etInfo: ; etWarning: ; etError: ; etDebug: ; end; Nice feature, thanks a…

    Reinier Olislagers
    0
  2. Getting a Field list of a record

    I see TDataset has a method to get a list of fields. Is there something similar for type: record? Say for instance I want to check which fields of a record are empty, how

    Johann Spies, Alejandro Gonzalo, Marcos Douglas
    4
  3. New iOS xib-Designer for Lazarus available for testing

    I've finished a version of my iOS xib-Designer which is good enough for testing. ;) This package adds a designer to design iOS layouts, which are stored in xib-files.…

    Joost van der Sluis, Michael Van Canneyt, Sven Barth
    7
  4. Finding out how a program's being terminated

    On unix (Linux, Solaris etc.) is it possible to determine how a program written using Lazarus is being terminated? Specifically, is there any different behaviour when a …

    Mark Morgan Lloyd, Andrew Brunner, Hans-Peter Diettrich
    21
  5. Unused field in extdlgs.pas

    in case anybody is interested in a small cleanup: Index: extdlgs.pas =================================================================== --- extdlgs.pas (revision…

    Flávio Etrusco
    0
  6. Problem with zeos and sqlite-3

    When using eg. sum(somecolumn) AS sum1, sum(somecolumn2) AS sum2 sqlite returns (zeos recognizes) result columns as string not as float. I've tried CAST(sum(somecolumn)…

    zeljko, Frank Church, Joost van der Sluis
    27
  7. [ISSUE] Complete code error

    Please see: http://bugs.freepascal.org/view.php?id=23903 Thank you! Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An…

    silvioprog
    0
  8. Patch to use different resource-formats within the ide

    Maybe someone can have a look at the patch in http://bugs.freepascal.org/view.php?id=23814 . It adds the ability to register other resource-formats then the lfm-format…

    Joost van der Sluis
    0
  9. Debugging generics

    I've tried to enter into a method of a generic class (TTree from gtree.pas) using F7, but, instead of entering into that method, the ide shows the red bar on the caller…

    Leonardo M. Ramé, leledumbo
    2
  10. last svn trunk failed to compile

    After retrieved lazarus trunk from the svn; the compile process has failed: Free Pascal Compiler version 2.7.1 [2013/02/15] for i386 Copyright (c) 1993-2013 by Florian…

    Eric Kom, Mattias Gaertner
    2
  11. Lazarus and Arm Embedded.( see FPC Bug report 23844)

    I?ve been working on a patch for FPC to add support for the NXP LPC 1343 ( smaller cousin to the NXP LPC 1768 ) , i?ve successfully added in all the correct units , can…

    Justin Smyth, Koenraad Lelong, Mattias Gaertner
    13
  12. OSX i386 build error with FPC trunk

    Getting a build error on lcltype.s. lclproc.pas(51,3) error identifier not found "class" I'm using FPC r23621 and Lazarus r40321 Aurawin LLC 512.574.6298…

    Andrew Brunner, Mattias Gaertner, Paul Ishenin
    2
  13. Executable version

    I was using this code below: procedure Tfrmmenu.FormShow(Sender: TObject); begin fileversioninfo := TFileVersionInfo.Create(nil); fileversioninfo.fileName :=…

    Edson - Listas
    0
  14. Exception on close application

    When I close my application, it raises a exception. Debugger stops on line 491 of Win32WSButtons.pp. I Don?t know how to debug it as it happens only when application…

    William Oliveira Ferreira
    0
  15. Trunk: problems running lazbuild to crosscompile Win x64 LCL

    fpcup tries to build an x64 LCL on Windows after having built the compiler, a bigide etc. For that it uses lazbuild --cpu=x86_64 --os=win64 with the proper primary…

    Reinier Olislagers, Mattias Gaertner, patspiper
    5
  16. Failed to compiled lazarus-1.1-40285-20130213-src.tar.bz2

    After I have downloaded the tar lazarus-1.1-40285-20130213-src.tar.bz2 and untar it: $ make clean $ make bigide FPC=/usr/local/lib/fpc/2.7.1/ppc386 Failed the compiled:…

    Eric Kom, Sven Barth
    2
  17. OT a bit - Planet Object Pascal

    I'ved created an RSS aggregation site for Object Pascal related blogs: http://planet.objpas.org/ This is a test run, and the look and feel will be changed in the feature.

    ik, Leonardo M. Ramé, Marc Hanisch
    3
  18. Code Completion Templates

    Donald Ziesig hat am 5. Februar 2013 um 23:16 geschrieben: It's hard coded. See components/codetools/codecompletion.pas around line 6730. You can create a feature…

    Mattias Gaertner, Donald Ziesig, Howard Page-Clark
    14
  19. Free Pascal + QML?

    Lazarus has Qt4Pas. Are plans to extend it for QML support? Reason is not only Ubuntu OS for mobile which come in autumn but I also looked at QML demos in QT Creator and…

    Krzysztof
    0
  20. [PROPOSAL] Looking for contributors to write a modular book on Lazarus/FreePascal in French

    I'm looking for French-writing contributors and authors for writting a modular book on Lazarus / FreePascal (in French). All experiences may be interesting, since a part…

    D-BookeR
    0
  21. Exception when re-opening a modal dialogue

    So when I call TfrmNewChapter.ShowModal, it works the first time. But when I call it the second time, I get an exception. The form is closed with the OK or Cancel…

    Timothy Groves, Mattias Gaertner
    1
  22. HTML Help for LCL

    Hi HTML Help for LCL still does not work (It works for RTL and FCL). There is an old bug report about this problem: http://bugs.freepascal.org/view.php?id=19817 Are…

    theo
    1
  23. Unpack of PHP

    In FPC, I'm trying to load a ASCII content and onvert it to integer, but, without success. In PHP I do it easily. I send two files in attached: 1. php - demo in PHP…

    silvioprog, David Knaack, ik
    13
  24. Extract the color data and alpha from a PNG image

    I'm trying to extract the color data and alpha from a PNG image. In PHP it is very easy to implement, but in FPC I don't know how to do it. I tried to do it via…

    silvioprog, José Mejuto
    6
  25. DeleD 3-D ported for Lazarus

    I have ported DeleD for Lazarus and committed it into a new SVN branch. See details here: http://www.delgine.com/forum/viewtopic.php?t=4722 Please check out and test. I…

    Juha Manninen, Reinier Olislagers
    1
  26. svn revision 40207 breaks build at least on MacOS X

    I just did a svn update, build breaks, reverting to 40206 solves the problem Compiling ttfile.pas ttfile.pas(328,4) Note: Local variable "rec" not used…

    Michael Ring, Alexander Klenin
    2
  27. Upgrading a project

    I have a project that builds fine with Lazarus 0.9.30.4. When I open it in Lazarus 1.0.4 I lose a TNotebook, and my project is "destroyed". Is there a way to upgrade my…

    Koenraad Lelong, Mark Morgan Lloyd
    1
  28. initiliazation, finalization and AddExitProc

    I want to implement the SetHeapTraceOutput routine mentioned in this thread - http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-December/069226.html I also want…

    Frank Church, Mattias Gaertner, Michael Van Canneyt
    3
  29. [TIP] Script for automatic installation of Lazarus and Free Pascal under Linux Mint 14.1 - 64bit

    Yesterday I created a script to install the Lazarus and Free Pascal on Mint 14.1 - 64 bit. The installation is done from sources downloaded via Github. For those who…

    silvioprog
    0
  30. JSON coders beware...

    i just saw this in my latest copy of @RISK and thought i'd share it since there seem to be quite a few coders using JSON...…

    waldo kitty
    0
  31. Communication with PostgreSQL

    Long ago I have worked with Turbo Pascal 7 in a DOS environment. Now after many years I want to use Pascal again. I have installed Lazarus on my Debian system and had…

    Johann Spies, Chavoux Luyt, leledumbo
    4
  32. Buttons in frames

    I've got a form which I'm creating manually before a program's main form, in order to read configuration settings which are needed early. The form contains a notebook,…

    Mark Morgan Lloyd, Hans-Peter Diettrich, Mattias Gaertner
    33
  33. TStringGrid and array

    I have a table in Excel with several rows and columns I want to transfer to Lazarus. I put in the form sgW: TStringGrid; when I am clicking on column 1 must be…

    Kamen Ketev, Jürgen Hestermann
    2
  34. Clearing a project

    Is there an easy way of clearing all stored state out of the .lps/lpi files, i.e. leaving no history of opened units/forms etc. except possibly a reference to the .lpr…

    Mark Morgan Lloyd, Mattias Gaertner
    15
  35. Suggest in Path Editor, select dir

    Suggest, in "Path Editor", when select to browse a directory, it start from the path in the edit at left or if empty start from project path. If it acceptable i will…

    Zaher Dirkey, Mattias Gaertner
    6
  36. Where is TlrCodeReport in Laz 1.0.6 for Win7 64 bit?

    I can't find it in the list of packages, or under c:\lazarus\components ? A. G. -------------- next part -------------- An HTML attachment was scrubbed... URL:…

    Alejandro Gonzalo, Julio Jiménez
    2
  37. How to control components order on the palette?

    As far as I understand, conponents are now listed in the order of registration, which depends on the (alphabetical?) order of packages. Is there any way to control that?…

    Alexander Klenin, Juha Manninen, Mattias Gaertner
    4
  38. Compiling IDE issues using FreeBSD 9.1 & FPC 2.6.0

    Lazarus IDE fails to compile under FreeBSD 9.1 (64-bit) using FPC 2.6.0. First of all, the Readme.txt file is wrong. It says to use 'make clean all', well apparently not…

    Graeme Geldenhuys, Marco van de Voort, Mattias Gaertner
    9
  39. ANN: Firmbox a FPC and Lazarus based project

    Hello Freepascal and Lazarus Community ! Some of you may know us as sponsors of the freepascal and lazarus community. We provide hosting, storage and virtual machines to…

    Helmut Hartl
    0
  40. Control Notification bug?

    My new TCoolBar component uses overridden notification: procedure Notification(AComponent: TComponent; Operation: TOperation); override; When Operation is opInsert, it…

    Juha Manninen, Mattias Gaertner
    5
  41. Extract LazFreeType from LazUtils

    I have recently applied several patches to LazFreeType. Why looking over it, I wonder -- why is it part of LazUtils as opposed to a separate package? Note that LazUtils…

    Alexander Klenin, Mattias Gaertner, silvioprog
    5
  42. AlignControls

    I am trying to figure out how AlignControls works. The signature is: procedure AlignControls(aControl: TControl; var aRect: TRect); override; What exactly is aControl…

    Juha Manninen, Mattias Gaertner
    5
  43. Project Options dialog

    This is a suggestion for improving the Project Options UI. The Application (settings) page now sports several platform-specific options. I think it would be better to…

    Howard Page-Clark, leledumbo, Reinier Olislagers
    2
  44. Split lazarus v0.0.0.1 build 2

    I'm happy to announce that my Split Lazarus v0.0.0.1 build 2 is ready. It's at this time very basic, and lack of real support of real editing the same context. I would…

    ik, Graeme Geldenhuys
    1
  45. IDE window positions

    kubuntu 12.04 64 bit. lazarus 1.0.4 and 1.1 39930. Tired of re-positioning IDE windows after lazarus start-up I have defined custom positions for the main IDE windows.…

    Ludo Brands, Graeme Geldenhuys, Hans-Peter Diettrich
    21
  46. Creating methods using rtti-info

    I'm writing my own method propertyeditor. And I want it to create the source for a new method. Only problem is that it should use the RTTI-information to obtain the…

    Joost van der Sluis, Mattias Gaertner
    5
  47. Synedit free makes an access violation exception

    When trying to do SynEdit.free (and FreeAndNil), I have an access violation exception. I cant figure out why. My code:…

    ik, Martin
    8
  48. TSynCustomBeautifier

    Hello! I'm trying to create a custom SynEdit Beautifier, and looks like I need to access FCurrentEditor and FCurrentLines fields of TSynCustomBeautifier. But they are…

    Misha Padalka, Martin
    2
  49. Fatal: Can't find unit system used by Lazarus

    Yes, again. Hi Folks. On a Linux OpenSuse x86_64, Lazarus 1.1 37432 31/05/2012, FPC 2.6.0 After a successful compilation of Indy 10.5.9 package (latest SVN source) when…

    Antonio Fortuny, Mattias Gaertner
    30