Sign in Join

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

Mailing lists / lazarus

lazarus · 2011-10

  1. Can't instal Packages into 0.9.30.2RC1

    I'll tried to install lNet and sqlit3laz packages. C:\lazarus\components\codetools\codetools.pas(1,1) Fatal: Can't find unit LazarusPackageIntf used by CodeTools While…

    Tommi Prami, Vincent Snijders
    3
  2. Name mismatches in TControl OnEnabledChange

    While other handlers have symmetric Add/Remove methods, this is different for an OnEnabledChanged <--> OnEnableChanging handler: procedure…

    Hans-Peter Diettrich
    0
  3. How do you debug a console program in Linux GUI mode?

    I am trying to debug a program in Ubuntu gnome. In Windows the program runs starts as a console program which has the ability to open a GUI. In Linux only the GUI comes…

    Frank Church, Bernd, Hans-Peter Diettrich
    10
  4. Tprocess to communicate with applications running

    Hi, firstly I'm sorry for my English bad. I am working on a long-time pascal Tprocess and have resolved the problem. The output of the application can not run it in the…

    Celâl Emre ÖZ, Andrew Haines, Felipe Monteiro de Carvalho
    10
  5. Linking to properties in fpdoc files

    When I want to link the documentation of property getters and setters to the property documentation, how should this be done? (fpdoc 2.7.1) The following snippet from…

    Hans-Peter Diettrich, Michael Van Canneyt
    2
  6. How to build Lazarus in Qt?

    What the steps to build my Lazarus to use Qt? My environment: OpenSUSE 11.4 with KDE. Thx. Silvio Cl?cio =============================================== Blog -…

    silvioprog, zeljko
    7
  7. Questionable code in TWinControl.RealizeBoundsRecursive

    I just uploaded an minor patch (#20490) to this method. Then I noticed a possible problem in the handling of the wcfRealizingBounds flag - why is this flag cleared…

    Hans-Peter Diettrich, Mattias Gaertner
    1
  8. DebugLn vs writeln

    Is the purpose of DebugLn over write line its ability to write automatically to a debug log text file? Are there some build settings that will automatically disable…

    Frank Church, Bernd, dmitry boyarintsev
    6
  9. FindInFiles dialog size

    Under Windows (not sure about appearance on Mac or Linuxes) the FindInFiles dialog is not big enough to show the "Where" radiobutton group. The .lfm has object…

    Howard Page-Clark
    0
  10. unfortunate typo in ideintf\propedits.pp

    In the declaration of the class TCustomShortCutGrabBox there is a hilarious inadvertent typo at line 1430. The method was doubtless intended to be named…

    Howard Page-Clark, Martin, Mattias Gaertner
    2
  11. Is win32 svn broken?

    I am despairing after two days of trying to get svn to build itself on win32 (under wow64) with the fixes_2_6 branch of fpc. Is this, by any chance, in some…

    Gregory M. Turner, Alex Shishkin, Alexander Klenin
    24
  12. Use of .lps files to avoid unnecessary changes to .lpi files

    I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarusabout how Lazarus can store IDE settings in .lps files…

    Frank Church, Alex Shishkin, Alexsander Rosa
    21
  13. JSON and StringGrid

    Is there a native alternative for populate a StringGrid with JSON? Eg. 'Grid.LoadFromJSON(const AFileName: TFileName);' Thx. ps. Web solution:…

    silvioprog, Luiz Americo Pereira Camara
    4
  14. Mac OS X Carbon: Non-standard characters (umlaute) shown as question marks ?

    My project is encoded in UTF-8 and when I build up some text which contains non-standard ASCII characters like "????????" then e.g. TLabel shows the umlaute as question…

    fred f, Felipe Monteiro de Carvalho, Michael Schnell
    4
  15. FindDefaultBrowser & opening URL

    I'm trying to open an URL in the user's browser. I've edited the example from the wiki…

    Reinier Olislagers, Bart, Mattias Gaertner
    4
  16. Change default component name

    When you drop a component on a form, by default the name of the component is derived from the ClassName with leading 'T' removed (and number suffix added). Now, I'm…

    Michalis Kamburelis, Hans-Peter Diettrich, Mattias Gaertner
    4
  17. Free Pascal plus Lazarus Wiki

    Hi. Im posting this on the mailing list, because I didn't found where could I ask for this. I want to translate an existing page on the "Free Pascal plus Lazarus Wiki" ,…

    Marco Aurelio Ramirez Carrillo, Vladimir Zhirov
    1
  18. Initial value of BidiMode in RightToLeft system

    I have English tools, but it work as Right to left forms, becuase it get the BidiMode from the language, while i am not choose any language for my application. That is…

    Zaher Dirkey, Hans-Peter Diettrich, ik
    12
  19. RX: Memory Leak on RXPopUpUnit

    I created a Issue with a possible way to patch it Please see: http://bugs.freepascal.org/view.php?id=20464 ? []s Daniel Conhe?a o Projeto ACBr - Automa?ao Comercial…

    Daniel Simoes de Ameida
    0
  20. Testing Lazarus 0.9.30.2RC1 and had WinCE problem

    BAsically same project is the Win32 version (only difference should be project file) But the WinCE project fails like this : Recompiling WSLCLClasses, checksum changed…

    Tommi Prami, Vincent Snijders
    2
  21. Lazarus 0.9.30.2RC1 available

    The first release candidate for Lazarus 0.9.30.2 is available for download from https://sourceforge.net/projects/lazarus/files/ The lazarus-testing ubuntu repository at…

    Vincent Snijders, silvioprog, Sven Barth
    5
  22. Are multiple critical sections allowed in form or data module?

    Are multiple critical sections allowed in form or data module? e.g. I have different datasets each with its own connection and queries that threads need to lookup data…

    Frank Church, Hans-Peter Diettrich, Marco van de Voort
    23
  23. PAge Control Problem in a WinCE

    Bugreport at : http://bugs.freepascal.org/view.php?id=20442 -Tee-

    Tommi Prami, Felipe Monteiro de Carvalho, Hans-Peter Diettrich
    5
  24. Synchronize in Threads not working correctly on Gtk2 on Windows 32?

    I switched a program which I knew worked perfectly in Win32 to GTK2 and the Synchronize(@DispatchOutput) stopped working. Is it a known bug? I was working in the…

    Frank Church, Bernd, Michael Schnell
    6
  25. Platform dependent modifier for common shortcut-keys?

    Since we like the "write once, compile anywhere" concept, might it not also be usefull if we can share (in code) common shortcut-keys between Mac and non-Mac platforms?…

    Bart, Felipe Monteiro de Carvalho, Flávio Etrusco
    8
  26. Purpose of TControl.UpdateRolesForForm?

    This method is called by a form, when its Default or Cancel control changes. But why do the affected controls receive no hint about their new role? What's the intended…

    Hans-Peter Diettrich, Vincent Snijders
    1
  27. Short cut key for Code templates names

    Is there a short cut for bringing up the abbreviations used for your code templates, in case you can't remember all of them?[?] Frank Church =======================…

    Frank Church, Mattias Gaertner
    2
  28. Size adjustments in TControl.DoDock

    I don't understand why DoDock ignores the given rectangle, that was shown while the control has been dragged. When the position or size should ever need an adjustment,…

    Hans-Peter Diettrich
    1
  29. Can't find package

    Hello: I had installed in my ubuntu 9.10 Lazarus 0.9.28. I finally decided to upgrade it to 0.9.30. I removed 0.9.28 to start from scratch, downloaded the deb packages…

    Santiago A., Mattias Gaertner
    1
  30. Clipboard changes

    I would like some feedback by anyone using or knowledgeable in the LCL clipboard design on the changes introduced by this (already committed) patch:…

    Flávio Etrusco, Mattias Gaertner
    4
  31. Disabling TAction while typing

    Hi, I have a form with an ActionList, and some actions have single-character shortcuts. For example, when the user type the character "o" it execute an action. Also, in…

    Leonardo M. Ramé, Michael Van Canneyt
    2
  32. Debug info for packages

    Since lazarus has changed default debug info to dwarf, packages that are automatically compiled are systematically compiled with dwarf debug info. In a wince cross…

    Ludo Brands, cobines, Felipe Monteiro de Carvalho
    13
  33. What's the reasoning behind the mass change of bugs to Acknowledged?

    Are they really being analyzed or is this just a flag for some later operation? Fl?vio

    Flávio Etrusco, Vincent Snijders
    1
  34. Inconsistent ScrolledClientRect calculation

    TControl.ScrolledClientRect offsets *all* fields in the TRect by the scroll offsets. This is *incorrect*, when the TRect is initialized to ClientRect, where the second…

    Hans-Peter Diettrich, Felipe Monteiro de Carvalho, Mattias Gaertner
    9
  35. Does Lazarus have file name and line number macros for inserting into DebugLn/WriteLn statements?

    Does Lazarus have file name and line number macros for inserting into DebugLn/WriteLn statements? Frank Church ======================= http://devblog.brahmancreations.com

    Frank Church, Howard Page-Clark, Lukasz Sokol
    7
  36. Delphi incompatible Owner of a floating dock site

    TControl.CreateFloatingDockSite creates a TWinControl owned by the floating control. This is a questionable relationship, at least, and incompatible with Delphi, where…

    Hans-Peter Diettrich
    0
  37. Enclose selection causes Lazarus to hang?

    In my version of Lazarus (0.9.30 svn 31861) using the Edit | Enclose selection dialog causes Lazarus to hang if it includes a line with debugger breakpoint. Is that a…

    Frank Church, Martin
    2
  38. A change in LCL require your TCustomForm descendants to have a resource or to use a CreateNew constructor

    Hello, Lazarus mailing list. I've changed the behavior of TCustomForm.Create constructor. Now it raises an exception if your TCustomForm descendant has no resource. 1.…

    Paul Ishenin, Bart, dmitry boyarintsev
    13
  39. compiling lazarus packages with fpc only

    I'd like to know: Is it possible to have fpc compile a source package that is created only as a lazarus package by using the .lpk-file, or do I have to make a second…

    Marc Santhoff, Mattias Gaertner
    2
  40. package directory destroyed, replaced with executable of same name

    So I just managed to get svn fpc and svn lazarus installed and running, yay! now the bad news I have a git repo (and lazarus package) called saralatools. I had just…

    David Emerson
    0
  41. Get LCL revision or version via ifdef

    I'm trying: ... uses {$IF (LCL_MAJOR = 0) AND (LCL_MINOR = 9) AND (LCL_RELEASE <= 30)} {$ENDIF} ... But: "Error: Compile time expression: Wanted STRING but got BOOLEAN or

    silvioprog, Alexsander Rosa, cobines
    16
  42. Fwd: Tamaho do executavel

    On a Brazillian Lazarus Mailing List, someone asked once again how to reduce the executable's size generated by FPC/Lazarus. I've suggest him to generate a external…

    William Oliveira Ferreira, Antônio, Felipe Monteiro de Carvalho
    11
  43. Drawing memo text in DBGrid - tried but stuck

    I'm trying to draw text from DBF memo fields on a dbgrid instead of the standard "(Memo)". The memo fields contain text data that is probably not that long (about a…

    Reinier Olislagers
    1
  44. A few questions on threads

    What is the purpose of the while not Terminated in a threads execute loop? If a thread is doing its own thing and knows when or not it has finished what is the purpose…

    Frank Church, Andreas Berger, Luca Olivetti
    17
  45. How to draw text in a edit (GTK2)

    In Windows is very easy: (...) var VCanvas: TControlCanvas; begin VCanvas := TControlCanvas.Create; try VCanvas.Control := Edit1; VCanvas.TextOut(0, 0, 'Test'); finally…

    silvioprog, Felipe Monteiro de Carvalho, Hans-Peter Diettrich
    8
  46. Circular references and code quality

    Hi There is lots of duplicate code and data definitions between Lazarus TProject and TLazPackage (and their ancestors). I tried to improve the situation by creating a…

    Juha Manninen, Alexander Klenin, Felipe Monteiro de Carvalho
    14
  47. TShiftState "lock" states in mousewheel events

    The TShiftState enum in LCL includes ssNum, ssCaps and ssScroll elements, which should indicate the state of NumLock, CapsLock and ScrollLock correspondingly. However…

    Alexander Klenin, Flávio Etrusco, Hans-Peter Diettrich
    11
  48. Configure IDE tree not readonly

    The first form that ask for paths "initialsetupdlgs.pas" I think "PropertiesTreeView" must be readonly Linux(OpenSuse 11.3)/GTK2 Thanks Zaher Dirkey -------------- next…

    Zaher Dirkey, Mattias Gaertner
    1
  49. Thread finalization

    I'm having a rough time with Threads. When my app starts, it creates an instance of a TThread that loads a bunch of images. That TThread instance can be destroyed in two…

    Leonardo M. Ramé, cobines, Flávio Etrusco
    12
  50. lazde problem with '<' character

    If you attempt to open the lazarus\docs\xml\rtl\system.xml in lazde it chokes on line 9705 pos 31 with an exception: character '<' not allowed in attribute value and in…

    Howard Page-Clark, Alex Shishkin, Hans-Peter Diettrich
    7