Sign in Join

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

Mailing lists / lazarus

lazarus · 2011-11

  1. TCustomForm.GetFloating

    function TCustomForm.GetFloating: Boolean; begin Result := ((HostDockSite = nil) and (Parent=nil) and (FloatingDockSiteClass = ClassType)) <--------------- or (inherited…

    Hans-Peter Diettrich
    0
  2. Source editor: filename hints gone?

    Until a few weeks ago, when hovering over a unit tab in the Source Editor the full path of the filename was shown in a hint. This is not working anymore :( Is this a bug…

    Ludo Brands, Martin
    2
  3. "Sort files alphabitically" is case-sensitive :-(

    I updated my Lazarus to the latest Trunk revision. I see there is now a "sort files alphabetically" option in the Project Inspector. Unfortunately the sorting seems to…

    Graeme Geldenhuys, Hans-Peter Diettrich, Jürgen Hestermann
    15
  4. Text Length in Win7

    I made an application under WinXP. When I run this under Win7, a number of texts (labels, text in a statusbar, etc) are longer then when run under WinXP. So a number of…

    Koenraad Lelong, Avishai, Marco van de Voort
    3
  5. TFileListBox.Mask - what format does it use?

    In the "File Browser" Lazarus add-on, located in the 'components' directory. It has a Filter combobox with preset items, but you can type in a file mask as well, and it…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, silvioprog
    7
  6. range check error with TMainMenu/TMenuItem in win64

    I'm currently running FPC 2.4.4 (built from SVN) on Windows Server 2008 R2 cross-compiling targeting Win64/x86_64. I retrieved lazarus 0.9.30.2_rc2 from subversion and…

    Seth Grover
    0
  7. OS X locale information (FormatSettings)

    A new OS X Carbon Lazarus project doesn't fill the FormatSettings structure properly (using recent versions of Lazarus/FreePascal trunk). It appears the FreePascal…

    Craig Peterson
    0
  8. Are private data not allowed? Why?

    I would like an explanation on this code (noob question, maybe): private sDati: array[0..3] of string; procedure Verifica(var: sDati array of string); This code returns…

    Massimo Soricetti, Dimitri Smits, dmitry boyarintsev
    5
  9. TForm.OnCreate and Application.MainForm.Caption

    Error on Lazarus Windows(!): "Lazarus 0.9.31 r33456 FPC 2.5.1 i386-win32-win32/win64" procedure TForm1.FormCreate(Sender: TObject); begin // next line produces error…

    John Landmesser, Michael Fuchs
    1
  10. Source editor navigation

    When multiple editor windows are open, the navigation back to the previous location (CTRL-H) sucks. When I have source code in one window, and the documentation in…

    Hans-Peter Diettrich, Martin
    5
  11. (no subject)

    sider2jp
    0
  12. New Tabcontrol: compiler warnings

    When building r33461 I got the following 2 warnings: E:\LAZARUS\lcl\comctrls.pp(852,15) Warning: An inherited method is hidden by "TTabControl.Change;"…

    Bart, Felipe Monteiro de Carvalho
    2
  13. Just curious: Source Editor's caption changes at runtime (Linux/GTK2/KDE)

    Some time ago I noticed that my source editor's caption changed form "Source Editor" to "Source Editor <2>", and then it would change back again. (I think it is a…

    Bart, Martin, Mattias Gaertner
    6
  14. Crash on exit (linux, gtk2)

    I am running archlinux (i686, x86_64) + 0.9.30, and update my system about twice a week. Recently about two weeks, the IDE on i686 is hang when I close it, only kill or…

    baldzhang, cobines, Mattias Gaertner
    7
  15. Default font

    Hi List. How do get the font name and size of the default fonts? If I simply access eg. form.font.name, I get "default" and likewise size is 0 (nul), but I would like to…

    Torsten Bonde Christiansen, Antônio, zeljko
    3
  16. TControlScrollBar implementation is weird

    This class contains some strange methods, which are not required or are Delphi incompatible. SetAutoScroll always disables AutoScroll, no chance to enable it again.…

    Hans-Peter Diettrich, Mattias Gaertner
    1
  17. Reading files in a Windows Mobile device.

    I need to copy a SQLite database from a iPAQ running Windows Mobile. I did this once using the RAPI.DLL but I was programming in C# under .NET Framework. I would like to…

    Arí Ricardo Ody, Sven Barth, Zaher Dirkey
    2
  18. LCL program crashes on OS X 10.5.8 with EXC_BREAKPOINT (SIGTRAP)

    what is the lowest version of OSX that LCL application should work with? I got feedback that my program works with OS X 10.7.2 but fails with OS X 10.5.8. I got some…

    Žilvinas Ledas, Mattias Gaertner
    2
  19. ImageListEditor problem

    I have a mysterious problem with my Lazarus. When I open the ImageListEditor the ImageListEditor opens with the Imagelist. So far so good. The ImageListEditor shows up…

    Bart
    0
  20. Application events

    TApplication has On...EndSession handlers - for what event? Are these related to WM_QUERYCLOSE and WM_CLOSE, or something different? Also what's the event/purpose of…

    Hans-Peter Diettrich
    0
  21. Looking for JSON and XML libraries for storing records and some demos.

    I want to learn how to store records (the database kind as well if available) in JSON and XML format. Are there some Lazarus/FPC libraries and demos which do that? Frank…

    Frank Church, Felipe Monteiro de Carvalho, Mattias Gaertner
    7
  22. In NeedRTLAnsi, can GetACP return CP_UTF8 on Windows?

    Hello. The code for Windows version of NeedRTLAnsi has: FNeedRTLAnsi:=GetACPCP_UTF8; Is it possible that CP_UTF8 will ever be returned by GetACP? I know that CP_UTF8…

    cobines, Felipe Monteiro de Carvalho
    3
  23. RunError(53216) in TOpenDialog

    Sorry if this is a double post. I posted this yesterday and could not see it in the archive. In the mean time I have subscribed to the list. Hi list I wanted to test…

    Anders E. Andersen, Howard Page-Clark
    3
  24. JSON float saving scientific value

    I'm trying to save a float value: 1.5. But some class is converting the value to "1.50000000000000E+000" (please see: http://imagebin.org/182341). How to I save the…

    silvioprog, Michael Van Canneyt, tcoq
    6
  25. TSynEdit bug in destructor?

    I stumbled upon this bug (?). Consider the following simple application. unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, SynEdit, Forms,…

    Bart, Lukasz Sokol, Martin
    5
  26. TReplaceDialog: feature request

    I would like to implement a "Prompt on replace" checkbox in TReplaceDialog. This might however not be Delphi compatible. Does anyone object if I would implement this?…

    Bart, Felipe Monteiro de Carvalho, Mattias Gaertner
    8
  27. Dynamic layout. Behavior of anchor + BorderSpacing

    I'm trying to do a dynamic layout using the Anchors feature of LCL The Layout consists of: - A TListView that should be aligned as alClient - A Button to show the…

    Luiz Americo Pereira Camara, Hans-Peter Diettrich, Mattias Gaertner
    5
  28. Screen and Desktop inconsistencies

    There exist 3 descriptions of the display area in TScreen: Screen (Width and Heigth), Desktop and WorkArea. The Delphi description of the difference is quite vague. The…

    Hans-Peter Diettrich, Felipe Monteiro de Carvalho, Paul Ishenin
    5
  29. TApplication bugs

    The TApplication.GetExeName method should be removed, it's already (and better) implemented in the base class. Fortunately it was never used as the ExeName getter,…

    Hans-Peter Diettrich, Paul Ishenin
    1
  30. Build release of project include packages

    When i build my packages to add it to Lazarus IDE i built it with debug info and low optimization for debug propose, this options in package options. But when i want to…

    Zaher Dirkey
    0
  31. Error when compile my package for WINCE

    Hi again This package in my project http://sourceforge.net/projects/minilib in directory /minilib/xml/source W:\home\pascal\lib\minilib\xml\units\arm-wince\mnXMLUtils.s:…

    Zaher Dirkey, Felipe Monteiro de Carvalho, Tommi Prami
    3
  32. Support for dotted unit name

    what FPC version support dotted unit name? "Delphi-like namespaces units Overview: Support has been added for unit names with dots." So, I believe that if it refers to…

    Kjow, Christian-W. Budde, Dimitri Smits
    41
  33. Object detection

    Hi, I'm looking for a library/routine for object detection in bitmaps. I need to process a black and white image (1bit) in low resolution and detect all white objects…

    Leonardo M. Ramé, Boian Mitov, Darius Blaszyk
    7
  34. Error when compile LCL for WINCE

    This error when compile LCL for WINCE in last reversions my command line make clean packager/registration lcl LCL_PLATFORM=wince CPU_TARGET=arm OS_TARGET=wince…

    Zaher Dirkey, Felipe Monteiro de Carvalho
    5
  35. Lazarus bigide 0.9.30.2RC2 doesn't compile on FreeBSD

    Hi I'm trying compile latest version of Lazarus with bigide option, but it failed with the following messages Compiling memdslaz.pas PPU Loading…

    Alonso Cárdenas Márquez, Mattias Gaertner, Vincent Snijders
    15
  36. Screen questions

    The names related to screen event parameters look a bit weird. When e.g. a handler for snActiveControlChanged is invoked, the *LastControl* parameter reflects the *new*…

    Hans-Peter Diettrich
    0
  37. Can't find unit LCLProc

    I have a unit (sarala_text.pas) which is part of a package (sarala_tools) that uses the LCLProc unit. My package file lists LCLBase as a requirement I am able to compile…

    David Emerson, Felipe Monteiro de Carvalho, Juha Manninen
    8
  38. Major flaw with trunk and unit cases

    Updated to todays Lazarus from svn/trunk and started work... Only to have my entire project build folder nuked by DoOpenEditorFile fixing case routine...…

    Andrew Brunner, David Emerson, Martin
    9
  39. Opening file already opened does not bring up source editor

    I have noticed that when you open a file from the file dialog or double-click it in the project inspector, the file will not show if it is already opened in the source…

    Frank Church, Mattias Gaertner
    3
  40. MDI support in lazarus started

    I've commited today MDI support in lazarus. Currently only qt ws is fully implemented for qt-linux,qt-win32 and qt-macosx targets. Native implementation of MDI is…

    zeljko
    0
  41. Autocompletion does not work after rev. 33274

    Hi List. The auto completion feature (Ctrl+space, and possible others) does not seem to work in trunk after rev. 33274. Should I report this as a bug? Torsten Bonde…

    Torsten Bonde Christiansen, Juha Manninen, Martin
    6
  42. Build Lazarus with Clean all - cleaning packages

    Hello. Does IDE clean all packages it depends on when rebuilding it from within the IDE with Clean All + Build? What is the difference between "Clean + Build" and "Clean…

    cobines, Juha Manninen, Mattias Gaertner
    13
  43. New TTabControl

    I just wrote a new implementation for TTabControl to fix the control hierarchy. I expect it to be 100% backwards compatible and at the same time have the correct class…

    Felipe Monteiro de Carvalho, Zaher Dirkey
    2
  44. TCustomLazComponentQueue.ReadComponent

    It looks as if this method does not return a defined result, in case of success? DoDi

    Hans-Peter Diettrich, Mattias Gaertner
    1
  45. GTK 2.24.7 causes A/V with toolbar/toolbutton

    Dear List It seem that Lazarus has a problem with the latest Gtk2 library (2.24.7) which is used in a recently updated Arch linux. I have tried to downgrade to 2.24.6…

    Torsten Bonde Christiansen
    0
  46. BeagleBone

    See http://www.linuxfordevices.com/c/a/News/BeagleBoardorg-BeagleBone/ Supposedly available Q2 2012. This $89 ARM board seem the ideal choice for many embedded projects.…

    Michael Schnell
    0
  47. MaskEdit- Fails with mask to telephone

    Plase see in: http://bugs.freepascal.org/view.php?id=20591 Thx. Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter -…

    silvioprog, Bart, Luiz Americo Pereira Camara
    12
  48. Max number of chars for a width

    Do we already have something like that? A method to return the maximum number of entire characters which fit into a given maximum width. Similar to TextWidth, but with…

    Felipe Monteiro de Carvalho, zeljko
    2
  49. gdb crash with printdialog dialog

    I noticed a problem with a simple application that contain only a printdialog (just the component in the form with no code). If I run the application => no problem When…

    Unknown author, Martin, Pierre Delore
    6
  50. TLMMouseEvent now lacks "state"

    don't know how old this change (probably a week or so), but TLMMouseEvent in svn now lacks state field and first what stopped compiling is VirtualTree port with…

    Max Vlasov, Alexander Klenin, cobines
    50