Sign in Join

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

Mailing lists / lazarus

lazarus · 2010-11

  1. Database access and thread-safety

    Can anybody say whether a TSQLQuery can be activated in a thread, provided that the portions of the app which activate it and the portions which read data from it are…

    Mark Morgan Lloyd, Graeme Geldenhuys, Martin Schreiber
    6
  2. TStringList as published property of a component

    first of all, as it's the first time I write here, I'd like to thank all the people involved in the development/testing/mantaining/etc of Lazarus :-) I would like to…

    Alberto Manganaro, Unknown author
    2
  3. Windows Metafile *.wmf *.emf control

    Does anyone know of a control that can handle the Windows wmf and/or emf file format to diaply images? I have had some succes with this control:…

    Birger Jansen, zeljko
    1
  4. Should using frames result in duplicate name errors?

    I am trying to use frames to create the same element repeatedly on a form, but when I copy them in the IDE or create them and set their parents at runtime, I get…

    Frank Church, Marc Weustink, Mattias Gaertner
    6
  5. Lazarus from Daily Snapshots

    I get error when install lazarus from daily snapshot Lazarus-0.9.29-28261-fpc-2.4.3-20101116-win32.exe Message error: The component editor of class…

    faber, Vincent Snijders
    3
  6. Compiler Hints: how to turn them off only for a specific directory

    I'm using Synapse from SVN and it has hundreds of hints. I do not want to turn hints off for everything, just for Synapse's path. Is there a way to do this? Alexsander…

    Alexsander Rosa, Vincent Snijders
    1
  7. TDBF extension question

    Hi. Years ago, when the TDBF component was made first for delphi, I downloaded and made an extension, which replaces the "TDBF.path" property, for a reference for a…

    Marco Aurelio Ramirez Carrillo, Joost van der Sluis
    1
  8. IDE resets form position to -200

    I've tried again to write a GUI app with Lazarus and I'm having some problems. First, I have a form where every time I load the project, the IDE resets the form's…

    Lee Jenkins, Graeme Geldenhuys, José Mejuto
    6
  9. Font size problems in dialogs on Linux

    unfortunately I designed my forms on a Linux machine (Ubuntu) where the Screen.PixelsPerInch value is 64. To get good looking fonts, I had to use sizes between 8 and 11.…

    Tobias Giesen
    0
  10. Lazarus rebuild with/without packages

    1- In the Lazarus build dialog, is the checkbox option "with packages" used only for rebuilding the IDE? If so, wouldn't it be better to be removed, and the IDE radio…

    patspiper, Martin, Mattias Gaertner
    3
  11. Multiple FPC versions for Lazarus 0.9.28.2?

    I have downloaded and installed FPC 2.4.2 into my Lazarus install tree under fpc where I already had subdir 2.2.4. So I installed FPC into subdir 2.4.2. Lazarus itself…

    Bo Berglund, Hans-Peter Diettrich, Martin
    10
  12. Free Pascal 2.4.2 released!

    we have placed a new major release of the Free Pascal Compiler, version 2.4.2 on our ftp-servers. Changes that may break backwards compatibility are documented at:…

    Marco van de Voort, Bo Berglund, Hans-Peter Diettrich
    18
  13. Main Form goes behind other windows

    I have a small application I'm writing in Lazarus. Whenever a form other than the main form is shown and closed the main form of the application hides behind any other…

    Lee Jenkins, Antônio, Bo Berglund
    4
  14. Cannot install package lNet in svn 28204

    When installing lNet package: C:\prog\lazarus\lnet\lib\lwebserver.pp(645,53) Error: absolute can only be associated with a var or const But it *is* a var: var…

    John vd Waeter, Dimitrios Chr. Ioannidis, Henry Vermaak
    9
  15. Identifier not found "lisDbgAsmCopyToClipboard"

    trying to build lazarus from freshed tree, rev. 28240. I got : "{Some path}\lazarus\debugger\assemblerdlg.pp(159,54) Error: Identifier not found…

    Dimitrios Chr. Ioannidis
    1
  16. Reading and writing TMemoryStream in events?

    I intended to use a TMemoryStream object to collect incoming serial port data, but now I am not so sure it will be possible... The problem as I see it is illustrated as…

    Bo Berglund, Henry Vermaak, Michael Schnell
    11
  17. Lazarus 1.1

    It's for the people who think that calling something 1.x instead of 0.99.x changes anything.

    Florian Klämpfl, Graeme Geldenhuys, Juha Manninen
    7
  18. Fatal: Can't open include file "fileutil.inc"

    I installed the recent Lazarus snapshot, but when I try to compile my project I get the error message C:\lazarus\lcl\fileutil.pas(237,2) Fatal: Can't open include file…

    Christof Kluß, Vincent Snijders
    1
  19. Lazarus cannot load source file when debugging.

    The SVN version(today) cannot load source file with a? file path containing Chinese character? when debugging. Instead of showing the chinese character, the dialog show…

    lyh1 rcc
    0
  20. Style of CPU and OS comboboxes in "Compiler settings" -> "code generation"

    Hello together! I noticed some time ago that the CPU and OS target comboboxes in "Project settings" -> "Compiler settings" -> "Code generation" (or similar, I'm using…

    Sven Barth
    0
  21. JSon stream to unicode?

    Hi, I'm receiving from a Delphi 7 app a unicode Stream (from Synapse library) containing Unicode data and I need to show it in a Lazarus form. How can I convert it to…

    Leonardo M. Ramé, Lee Jenkins, Michael Fuchs
    7
  22. Control view style 3D?

    I am new to Lazarus but I have noted that the controls I put on a form look very "flat"... I am used to having sunken controls, but there seems to be no place to set…

    Bo Berglund, Andreas Schneider, Felipe Monteiro de Carvalho
    36
  23. TGraphicControl and Wm_WindowPosChanged

    I successfully ported one of my components and was very impressed with how little I had to do in order for it to work. This was a TGraphicControl descendant and a single…

    Max Vlasov, Mattias Gaertner
    2
  24. Utf8ToSys on Linux and cwstring in uses clause

    I've just tried to use Utf8ToConsole on my Linux box and was surprised very much about the result. If I run a simple program like this: It produces the following output:…

    Vladimir Zhirov, Mattias Gaertner
    1
  25. VirtualTreeView on Mac

    is it possible to get VirtualTreeView-New "running" on Mac? I tried it myself, but the TreeView is just empty, even if I add some Nodes, nothing is gonna painted on it…

    Eugen Bolz, dmitry boyarintsev
    4
  26. Accessing the FormEditor from within a non-lcl designer

    I would like to use FormEditor.CreateComponent and FormEditor.CreateuniqueComponentName from within a designer-mediator. So I don't have to duplicate that code. How can…

    Joost van der Sluis, Mattias Gaertner, Michael Van Canneyt
    3
  27. Debugger-crash immediately at startup

    I was using the debugger, recompiled Lazarus, restarted and it crashed immediately. It wasn't reproducable, when I started Lazarus again it worked?!? But at least I have…

    Joost van der Sluis, Martin
    2
  28. Codetools can't find units in 'other sources'

    The Lazarus Codetools are complaining that a unit can't be found. But it is available in the path I've given in the 'compiler-options' as 'Other Sources'. But also…

    Joost van der Sluis, Mattias Gaertner
    5
  29. WinCE LCL Interface broken r. 28143

    i think that a small typo broke the wince interface. In r. 28143 "wince: implement clDefault support" by mistake you used the WindowDC in Windows.SetBkColor instead of…

    Dimitrios Chr. Ioannidis, Paul Ishenin, Zaher Dirkey
    2
  30. Lazarus Web Update Component

    is there any component or ( in any state ) source for web update ( for windows primarily ) ? Dimitrios Chr. Ioannidis

    Dimitrios Chr. Ioannidis
    0
  31. Re: gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

    Actually it probably was the same issue i had.. and probably is fixed now. The signal is because the IDE tried to interrupt the process, so it could get the line info…

    Martin, Marc Weustink
    2
  32. Ubuntu Lucid, Lazarus 0.9.28, Error With Menus Widget

    I just installed Lazarus on my Ubuntu Lucid laptop and when I try and add the pop-up menu widget I get an error saying "unit1.pas(9,8) Error: source not found: unit…

    aditya siram, Mattias Gaertner
    1
  33. Lazarus IDE prompts with incorrect choices

    2010/11/8 Graeme Geldenhuys : That has probably been fixed in the meantime. Vincent

    Vincent Snijders, Graeme Geldenhuys, patspiper
    3
  34. getting SigIll in w32 gdb

    I tried the below, with various versions of gdb on w32 / vista - gdb 6.8.3 / 7.0 / 7.0.50 / 7.1-2 / 7.2-1 - you can comment out the writeln => no change set…

    Martin, Marc Weustink
    3
  35. Advice needed for serial comm with Lazarus

    I have already been adviced to use the SdpoSerial component for my serial comm project. The project is a platform-independent rewrite of a data acquisition instrument…

    Bo Berglund, Mark Morgan Lloyd, Michael Schnell
    3
  36. lazarus.pp(127, 1) Error: Can't call the linker, switching to external linking

    Just to know what I did before: - install a new ubuntu 10.04 32 bits (virtual box) - downloaded freepascal 2.4.0 bootstrap binary for linux from freepascal site -…

    Thierry B.
    0
  37. Custom draw menu

    I am trying to add some custom paint routines to a menu. From some previous messages I understand that there is no CustomDraw event that I can use. Looking at the…

    Birger Jansen, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    30
  38. Accessing OnGetSelectedComponentClass from a non-lcl design-mediator

    I'm working on a non-lcl design mediator and I want to get the selected component class on the componentpallet. But the OnGetSelectedComponentClass event is defined in…

    Joost van der Sluis
    0
  39. Lazarus history: Where LCL-Win32 started

    I never new lcl-gtk came before lcl-win32. So we learn. :) I found this link which has some detailed information about the history of Lazarus (win32 at least). Even some…

    Graeme Geldenhuys, Luiz Americo Pereira Camara, Max Vlasov
    2
  40. OT: Looking for a Lazarus-supported E-Book-Reader or Tablet

    sorry for posting slightly off-topic here, but whereelse to ask for a device with Lazarus-Support... I'm looking for a E-Book-Reader or Tablet for reading PDF's with…

    Lukas Gradl, Luis R. Hilario B., Zaher Dirkey
    5
  41. fpWeb and dynamic path_info

    I'm trying to learn how to use fpWeb, and I wish to implement (for the learning) my web site (http://www.linesip.com). If you follow the links, you will find links such…

    ik, Michael Van Canneyt
    1
  42. News on Delphi x64

    Hello together! A little entry about some details of Delphi x64 I stumbled on today: http://wiert.wordpress.com/2010/11/01/more-delphi-x64-bits-allen-bauer-kylix_rd-on-tw…

    Sven Barth, Florian Klaempfl, Graeme Geldenhuys
    28
  43. HotKey with Carbon

    i tried to port this http://dbachrach.com/blog/2005/11/program-global-hotkeys-in-cocoa-easily/ . Nothing Happens If I press Option + 1. Here's my code, I hope anybody…

    Eugen Bolz, dmitry boyarintsev
    5
  44. error running win 64 app inside ide

    I installed lazarus on my new 64 bit pc (Lazarus 0.9.29 r28069 FPC 2.4.0 i386-win32-win32/win64). If I create a new project, an empty form, and I compile it for Win64…

    Andrea Mauri, Vincent Snijders
    2
  45. strange bug in source editor, disappearing scroll bar

    please compare these two screen shots: http://imagebin.org/121695 http://imagebin.org/121699 Pay attention to the scrollbar and the sunken border around the edit area.…

    Bernd Kreuss, Martin
    2
  46. Fastest way to show an image buffer

    Hi, I'm using this routine to show an image buffer in a TImage, but it is not fast enough for my needs. lBufStream := TMemoryStream.Create; lBufStream.Write(lBuffer^,…

    Leonardo M. Ramé, Felipe Monteiro de Carvalho
    1
  47. TPicture.LoadFromStream error

    Hi, I'm loading PGM files to an TImage.Picture using its LoadFromFile or LoadFromStream methods. This works well on small to medium sized images, but I'm getting an…

    Leonardo M. Ramé, Mattias Gaertner
    4
  48. Lazarus Directory

    Is there any environment to Lazarus Dir like {$I %FPCVERSION%} ? Ant?nio

    Antônio, Mattias Gaertner
    4
  49. Horizontal scrollbar in Listbox

    I have a Listbox that's dynamically filled. When one Item's length is larger than the current size, the horizontal scrollbar appears. So far, so good. After that, if the…

    Alexsander Rosa
    2
  50. Lazarus restart

    I start Lazarus by double clicking in Nautilus (Ubuntu file manager) on a bash script which includes FPC path exports and Lazarus binary. If I rebuild the IDE and…

    patspiper, Mattias Gaertner
    3