Sign in Join

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

Mailing lists / lazarus

lazarus · 2012-01

  1. LazReport & Database

    I was wondering if I found a bug in LazReport. Like always, I put my database-components in a datamodule. Then I placed a frReport on a visible form. I started editing…

    Koenraad Lelong, Chris Kelling, Jesus Reyes
    8
  2. RE : ActiveX control demo

    First of all, a newer version of importtl and typelib is commited in fpc trunk. Some other bug-fixes where submitted in http://bugs.freepascal.org/view.php?id=21077. The…

    Ludo Brands, Felipe Monteiro de Carvalho, Marco van de Voort
    9
  3. LCL and custom keyboard layouts

    Over the last few weeks I've hacked together a partial APL implementation, for use as a way of specifying lists of numbers etc. when passing commands between computers…

    Mark Morgan Lloyd, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    20
  4. Start/Stop recording editor macro

    Is there in Lazarus a "record editor macro", like Delphi (CTRL+SHIFT+R)? See http://delphi.about.com/od/adptips2005/qt/editorshortcuts.htm Marcos Douglas

    Marcos Douglas, Flávio Etrusco, Martin
    8
  5. Help on FCL?

    The Lazarus package FCL seems to hide the FPC/FCL, at least I cannot get any context sensitive help on FCL units or identifiers (using CHM) :-( FPDoc Editor doesn't show…

    Hans-Peter Diettrich, Andrew Haines, Felipe Monteiro de Carvalho
    140
  6. Poor man's resource code available and CheckRide update: now with editor

    (Cross posted to Lazarus+FPC lists) Thanks to UPayload (http://www.delphidabbler.com/articles?article=7) and some help on the forum, I could implement an alternative way…

    Reinier Olislagers, dmitry boyarintsev, Hans-Peter Diettrich
    13
  7. Filtering on date with TDbf

    Lazarus 0.9.30 I want to filter a TDbf. The field is a date. When I try in Filter in Lazarus : DATUM >= '1/1/2011' or DATUM >= "1/1/2011" or DATUM >= '1.1.2011' In my…

    Koenraad Lelong, Alexsander Rosa, Chris Kelling
    13
  8. codetools tooltip showing method visibility

    Many times I am working with large classes that are much bigger than what is visible in the editor view. Is there any way the tooltip shown over a property or method can…

    Graeme Geldenhuys, Alexander Shishkin, Hans-Peter Diettrich
    47
  9. Double hit on menu ShortCuts

    I just upgraded to Lazarus 0.9.30.2. I love what's been done with the "build modes". Although being forced to upgrade FPC is always scary. I've had a track record with…

    Jon Foster, Juha Manninen
    1
  10. blank window

    Hi list After I upgraded my netbook to ubuntu precise, I only get an empty window when I start up lazarus (or my app, which uses the lcl). When I run lazarus directly,…

    Henry Vermaak, Felipe Monteiro de Carvalho, Ludo Brands
    22
  11. TpOnGuard question

    Running StampExe.exe from IDE I get 201 RunTime error (Range Check Error) on the first line of this IF statement (line 399): if (PSignatureRec(@Memory[I]).Sig1 =…

    Antônio, Graeme Geldenhuys
    3
  12. Issue 21129, hang on glib2 2.31

    the issue is read-only now, so I comment here. The patch commited leaves USE_GTK_MAIN_OLD_ITERATION as before, using gdk_threads_init. It would be useful to note…

    Ludo Brands, zeljko
    2
  13. codetools: class helper: unit1.pas(20, 30) Error: : expected, but for found

    I can't navigate using Ctrl+Shift+C if unit has a class helper. If you try in code below, you got the error: "expected, but for found" But this code compiles without…

    Marcos Douglas, Mattias Gaertner
    2
  14. JSON and Object Pascal DateTime

    What the best way to save a datetime value in a JSON object? 1 - JSONObj['datetime'].AsString := DateTimeToStr(Now); // No no no ... :/ 2 - JSONObj['datetime'].AsString…

    silvioprog, Luiz Americo Pereira Camara, Michael Van Canneyt
    8
  15. IDE french translation

    I'll try to update the French translation of Lazarus. Are there other volunteers on this list ?

    Vincent BEUSELINCK, Maxim Ganetsky
    3
  16. UTF16 2 utf8

    Hi all im bit lost with all this unicode support ..im tryin to make picture in my head..here is my problem MS-SQLserver 2008 uses utf16 to represent data lazarus uses…

    Eduard Filipas, Felipe Monteiro de Carvalho, Giuliano Colla
    17
  17. Extending the IDE

    Martin how can use the property TextBetweenPoints to exchange lines. I tried but not work me. I have this code: tempStr := ASynEdit.LineText;…

    Reinier Napoles Martinez, Martin
    1
  18. Hello World program generates a File Not Open runtime error

    program project1; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} {$ENDIF}{$ENDIF} Classes { you can add units after this }; begin WriteLn('Hello World');…

    Antônio, Curt Carpenter, Felipe Monteiro de Carvalho
    16
  19. Extending the IDE

    Ok. thank you very much for your help.. ********************************************************************* En la tierra hace falta personas que trabajen m?s y…

    Reinier Napoles Martinez
    0
  20. Extending the IDE

    thank you very much for the tip , martin _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

    Reinier Napoles Martinez
    0
  21. CodeTools can not generate my code

    I've created a class in Lazarus, defined some procedures, and pressed on CTRL+SHIFT+C to add them to implementation. I got the following error instead in an existed…

    ik, Mattias Gaertner
    2
  22. Extending the IDE

    I started to study, how to extend the IDE. so far I have managed to add a menu to the IDE. How I can override the default behavior of the editor when I press Ctrl + D to…

    Reinier Napoles Martinez, Martin, Mattias Gaertner
    2
  23. TPageControl - how to use it?

    There is documentation about how to add tabs and controls in the designer but I could not find any explanation of how to do the same programatically. I have a…

    Bernd, Howard Page-Clark, Ludo Brands
    5
  24. How to implement an iif with generic?

    I'm tried all options in http://wiki.freepascal.org/Generics_proposals. But, without success. :( In the last test: function Max<T>(A, B: T): T; begin if A < B then…

    silvioprog, Paul Ishenin
    2
  25. Easy switching build modes

    Hi List. I'm looking for an easy way to switch between buildmodes, but so far I can only do it where they are also defined (Project->Options->Buildmodes). Does there…

    Torsten Bonde Christiansen, Hans-Peter Diettrich, Mattias Gaertner
    9
  26. class completion now updates multiple implementation signatures

    I improved class completion to update multiple method signatures. For example: type TMyClass = class public procedure DoIt(a: integer); // parameter added procedure…

    Mattias Gaertner, Henry Vermaak, Sven Barth
    6
  27. \lcl\interfaces\win32\win32wsfactory.pas(570, 45) Error: Identifier not found "TCDWSLazDeviceAPIs"

    I updated my Lazarus today to revision 34948. When I tried to compile: W:\md\dev\freepascal\ide\laz\0.9.31\lcl\interfaces\win32\win32wsfactory.pas(570,45) Error:…

    Marcos Douglas, Felipe Monteiro de Carvalho
    2
  28. MessageDlg default button

    I'm using a MessageDlg to show some information, with multiple buttons. Unfortunately, in this case, I would like to have another button as default. Is there a way to do…

    Koenraad Lelong, shoKwave, Unknown author
    3
  29. Displaying serial data

    I have an application where I capture data (ascii-text) coming from a serial port. I'm using the 5dpo component. That works fine. I'm trying do display that and there I…

    Koenraad Lelong, Howard Page-Clark
    2
  30. Problem encode UTF8 with BOM in unit

    I created new project, then choose "File Settings -> Encoding -> UTF8 with BOM -> Change file" Added new listbox1 to the form, in source code (button ) i added some items

    Zaher Dirkey, Felipe Monteiro de Carvalho, Honza
    8
  31. TProjectDescriptor doubt

    It's possible to clear the icon of the project, and change the "Application Settings"? Please see: http://imagebin.org/195178 So, it's possible don't generate the "{$R…

    silvioprog, Joshua Lim, Luiz Americo Pereira Camara
    13
  32. moving a project and its files

    I need to move a project from a folder to another one; I tried using "publish project", but not all files belonging to it were moved. Also the hierarchy was lost; my…

    Roberto P., Hans-Peter Diettrich, Mattias Gaertner
    7
  33. off topic: Mac and dvroc keyboard layout

    Any one an idea, how to get mac to think you have a dvroac kbd? (best the modified UK one)

    Martin, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    3
  34. TTabControl has problem with storing/retreving objects

    Hi All! I have an app that uses a TTabControl to select the display of one of many objects. The code is really trivial in the real app, but I have further simplified it…

    Donald R. Ziesig, Hans-Peter Diettrich
    1
  35. Lazarus and FPC FCL

    Since some days (SVN updates) I have problems with unit IniFiles. I cannot debug these problems, because the IDE seems not to find the proper source files…

    Hans-Peter Diettrich, Marco van de Voort, Mattias Gaertner
    7
  36. Libc functions and types

    I need to use some libc functions and types (localtime_r, tm, ...) but there's very confusing situation with libc (they say it is deprecated) and it even couldn't be…

    Udav, Andreas Schneider, Craig Peterson
    10
  37. unsibscribe

    -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120121/c19aad97/attac…

    David Unric
    0
  38. ExecuteProcess

    I can't find it on google, so is it possible to hide the command prompt window that appears with SysUtils.ExecuteProcess('','',[]); ? I need to run some external…

    Kjow, Bart, Henry Vermaak
    11
  39. lazarus-0.9.30.2-fpc-2.4.4-win64 error

    As reported in another thread (sorry for the squatting), after an update (lazarus-0.9.30.2-fpc-2.4.4-win64) I now have applications that compile no more: error is…

    Lazarus, Bart, Mattias Gaertner
    3
  40. Help needed building a small dictionary application

    I am not really sure if this type of message is appreciated on this list or not. I tried looking it up on the Lazarus-site, but didn't find anything on it. My apologies…

    J.A. de Vries, Alexander Klenin
    1
  41. TRawImage.PerformEffect: how to properly use this?

    What is the correct way to use TRawImage.PerformEffect? Simply doing: Image1.Picture.Bitmap.RawImage.PerformEffect(someeffect) will lead to memory loss, due to a…

    Bart, Mattias Gaertner, Paul Ishenin
    3
  42. unit system in

    i was writing my first FastCGI application and on building, i've got this error: C:\lazarus\packager\registration\fcllaz.pas(1,1) Fatal: Can't find unit system used by…

    William Oliveira Ferreira, Mattias Gaertner
    3
  43. Need help with TValueListEditor

    Where can I find sample code for this control? I want to initialize the content with key/value pairs in code, track changes and/or save the content in OnExit when…

    Hans-Peter Diettrich, Howard Page-Clark, Mattias Gaertner
    3
  44. Object Inspector off screen

    I haven?t used Lazarus for a while and previously I had a multi monitor system, nowadays I?m back down to 1. Anyway, it appears lazarus has remembered my previous window…

    wildfire
    1
  45. TFrame and buttons

    I'm Writing my hobby application (https://github.com/ik5/display-quotes/), and I decided to use TFrame for the search window. The thing is that when I add code to the…

    ik, Mattias Gaertner
    2
  46. Lazarus on Ubuntu: Pixbuf again

    Hello all. I'm completely upset. Tried to install Lazarus on Ubuntu 10.04, installed from repository but got "libpixbuf not found" error on any project compile. Nasty…

    Удав Каа, Mark Morgan Lloyd, Mattias Gaertner
    6
  47. Code completion improved

    I improved the code completion for parameters. It can now create methods/procedures for parameters and variables for pointers for parameters. Here is an example for a…

    Mattias Gaertner, Martin, Paul Ishenin
    2
  48. Units in package not found

    I've created a package for the FPDoc units, for use in the FPDocManager (see examples/fpdocmanager). While the IDE (code tools) can find all the units in the package, I…

    Hans-Peter Diettrich, Mattias Gaertner
    2
  49. What happened to ComboBox color?

    When I switch a combobox (Win32) to csDropDownList, it obtains button color, regardless of ParentColor. Why that? DoDi

    Hans-Peter Diettrich
    1
  50. Help debugging

    I have a "random" crash that I can't debug on my program. I have a class that contains some other classes, variables, etc. On some point of execution the program creates…

    Kjow, Antonio Fortuny, Hans-Peter Diettrich
    15