Sign in Join

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

Mailing lists / lazarus

lazarus · 2015-11

  1. Event created by program logic rather than user action

    I am writing a cellular automaton, that calculates a n by n array with integer values, which represent colour values. The array is updated in an infinite loop, that I…

    Dr Engelbert Buxbaum, Anthony Walter, Michael Schnell
    3
  2. Failed to build lazarus release 1.4.4 from svn

    I tried to compile the latest release of Lazarus (1.4.4) on my Raspberry Pi2 under Raspbian Jessie. I want to do this in order to get a stable IDE rather than the trunk…

    Bo Berglund, Martin Schreiber
    2
  3. Dynamic resolution of IDE Macros (at first usage)

    I'd like to setup a IDE Macro to be used in project output file path. Since the value of this Macro is enviroment dependent (the directory of a web server) it can not be…

    Luiz Americo Pereira Camara, Mattias Gaertner
    2
  4. Automatic creation of (configuration) dialogs

    I was wondering if there's some code / unit / component etc. that allows the automatic creation of dialogs at runtime, i.e. for providing configuration options to the…

    Alexander Hofmann
    0
  5. Which method is called at the very end of TWinControl creation?

    I have form which has a lot of panels panels have controls and splitters (inside). The problem is with setting initial splitters position when user open form. I want…

    Krzysztof, Howard, Mattias Gaertner
    2
  6. TextHint, TextHintFontColor, TextHintFontStyle

    Hi, I noted there are new (to me) properties in some components, what's the difference between those and the good old Hint property?. Leonardo M. Ram?…

    Leonardo M. Ramé, Bart, Mattias Gaertner
    3
  7. Getcurrentdir in Linux Mint

    I need to know the function to get the current directory in Linux Mint Sent from my iPhone

    Larry Dalton, Anthony Walter, fred
    6
  8. Resizing Widgets

    I've added code to Cross.Codebot allowing for resizing and moving of desktop widgets directly with the mouse. The clock example has been converted to use this…

    Anthony Walter, Aradeonas
    3
  9. How to find out the public IP in code?

    I would like to be able to find out the public IP address of the Pi in a Lazarus program. How can this be accomplished? It is either connected to a wired or WiFi network…

    Bo Berglund, Aradeonas, fecske fecske
    5
  10. Error building androidlcltest Cannot find Gtk2

    I have Lazarus V1.4.4 installed and in use one my system. I recently installed Laz4android (Lazarus V1.5) following the android tutorial on wiki.lazarus When I attempt…

    Dale Corning
    0
  11. How can I close a Lazarus project and open another?

    I have a Lazarus project inside the IDE, which uses LNet. Now I want to close that and open one of the LNet examples in order to see how that works. So I did this: -…

    Bo Berglund, Mark Morgan Lloyd, Michael Van Ham
    6
  12. StringGrid1.LoadFromCSVFile problem

    I like to use the StringGrid1.LoadFromCSVFile() function. It works but also randomly ?set to a last line of strange characters ? In the CSV file normail view are not…

    fecske fecske, Jesus Reyes A., Mattias Gaertner
    12
  13. Qt events

    I miss some events on Linux. For example LM_NC*, LM_WINDOWPOSCHANGING. See NonClientAreaMouse* and SlotNCMouse in qtwidgets.pas. SlotNCMouse is a TForm thing? Tried but…

    Gabor Boros
    0
  14. D7 compatibility in component definition concerning TPage

    I've tried to unify some Lazarus and D7 sources and succeeded except for one thing: TYPE TMyForm = CLASS(TForm) {$IFDEF FPC} SomePage: TPage; {$ENDIF} END; Delphi parses…

    Martin Grajcar
    0
  15. AnsiPropercase (aka Capitalize) with UTF-8 support

    Is there any similar function for UTF-8? Can't find anything in LazUtf8 unit Regards -------------- next part -------------- An HTML attachment was scrubbed... URL:…

    Krzysztof, Mattias Gaertner
    1
  16. Test This Please

    To Debian based Lazarus users, if you have the inclination can you test this out, or provide some feedback: http://www.getlazarus.org/apps/cpugraph/ Here is a video of…

    Anthony Walter, Aradeonas, JuuS
    23
  17. fpcup on arm-linux

    Did anyone succeed to run fpcup on a raspberrypi2 ? I added a USB-disk to the pi, to get swap and some disk-space. I started fpcuprpi2. This runs for a while and it…

    Koenraad Lelong, Alfred
    3
  18. Using event driven components in console application

    I am moving a discussion that is being conducted in a thread named: "Lazarus implementation of TListview etc?" to this new thread since the topic has shifted away from…

    Bo Berglund, Graeme Geldenhuys, JuuS
    24
  19. AnchorDockingDsgn with multi-monitor setup

    We've already discussed some of this on the forum. See topic for extra background: http://forum.lazarus.freepascal.org/index.php/topic,30226.msg192660.html#msg192660 My…

    Rik van Kekem
    0
  20. Encoding with SDF dataset

    when trying to us a TSdfDataset connected to a TDatasource and a TDBGrid, only some unicode symbols are shown (those little squares holding four tiny numbers) for string…

    Marc Santhoff, Mark Morgan Lloyd, Michael Van Canneyt
    8
  21. A big thank you!

    Dear Coder of code-completion Today after having updated my trunk Lazarus I started coding and did what I usually do with code completion. I was starting to implement a…

    Torsten Bonde Christiansen, Anthony Walter, Aradeonas
    17
  22. Trim quoted text please!

    [I'm not the admin, just a concerned citizen] See attached screenshot - 95% of that message was quoted text. And in recent days I've seen stacks of posts like that by…

    Graeme Geldenhuys
    0
  23. Another widget

    I created another Linux utility with Lazarus. Here is my CPU Graph utility: http://cache.getlazarus.org/video/widget-cpugraph.mp4 It can record up to 1 hour of CPU…

    Anthony Walter, Aradeonas, JuuS
    5
  24. Deployment tool: make deb

    If anyone is interested, I wrote a quick and dirty utility to create debian (deb) deployment packages for Lazarus applications (any really):…

    Anthony Walter, Aradeonas, Arne Hanssen
    12
  25. How can notify a control if owner form is moving

    I want to know in a TEdit if the owner form moving. Found LM_WINDOWPOSCHANGING which works on Windows but not with Linux-Qt. Later found LM_NC* events but same as above,…

    Gabor Boros
    0
  26. Error SIGILL appearing out of the blue, what does it mean?

    Yesterday I was testing lnet and the test project was working just fine. Today I came back and hit run again only to find a pop-up error box saying: Project xxx raised…

    Bo Berglund, Mark Morgan Lloyd
    2
  27. Lazarus in trunk not working after Rev 50151 on MacOSX

    I today realized that current trunk does not work anymore after Rev 50151, Lazarus starts and when I load a project I get a Range Check Error and after this I cannot…

    Michael Ring, Mattias Gaertner, Ondrej Pokorny
    20
  28. TTabcontrol color strangeness

    If I use a TTabControl in windows xp with the classic theme, the color is the same as the solid color of the desktop and there's no property to change it. Shouldn't at…

    Luca Olivetti
    1
  29. Forwarding events/messages

    I'd like to forward a TLMVScroll message to the parent component as a workaround for controls preventing parents from receiving mouse wheel events (I couldn't find out…

    Martin Grajcar, Ondrej Pokorny, zeljko
    4
  30. Tips for setting up Linux64 to Linux32 cross compile?

    I am having issues setting up the linking portion of cross compiling from linux 64 to linux 32. The problem come with linking to all the required linux-i386 libraries on…

    Anthony Walter
    1
  31. How to get real width of grid columns?

    I want to save and load state(width,visibility,...) of columns. My problem is Width property give back 0 value from invisible columns. FWidth contains the real value.…

    Gabor Boros
    1
  32. External SIGSEGV (random) when assigning TBookmark

    Hi, I don't use data aware controls too often, but as I'm updating a legacy application I have to use them. Please take a look at this code. DataModule1.SQLQuery1 is a…

    Leonardo M. Ramé, Luca Olivetti, Luiz Americo Pereira Camara
    9
  33. VirtualTreeView, clicking to expand collapse only on works for first column

    In a VirtualTreeView I have icons to expand and collapse subnodes (the + and - in a square). When clicking on them with the mouse it only works when the column with…

    Jürgen Hestermann
    0
  34. Patch for TTrayIcon on Ubuntu's Unity

    I create a fix for Lazarus TTrayIcon on Unity. if anyone wants to test it out or add it to the LCL please do so. The fix is located here:…

    Anthony Walter, Juha Manninen, Luca Olivetti
    15
  35. Lazarus implementation of TListView etc?

    Note: Posted this by accident on the FPC list.... -------------------------------------------------- I want to know why comctrls is not found by Lazarus and hence the…

    Bo Berglund, Graeme Geldenhuys, José Mejuto
    62
  36. Thread-to-Mainthread singallizing

    For Delphi users, it is a common (bad) habit to use PostMessage() for Thread to MainThread signaling. It was necessary pre D7. But as of D7, for this purpose there is…

    Michael Schnell
    0
  37. Custom fancy tooltips

    I created a fancy cross platform tooltip implementation which can replace normal tooltips. The code is in the Cross.Codebot git repository. I may later add a variety of…

    Anthony Walter
    0
  38. Suggestion for IDE

    fpc r32000 & lazarus r50023 osx el capitan qtx64 1- Is it possible to add new form for opened windows list, like under Main menu --> Window. This is so useful if use…

    FreeMan, Michael Van Canneyt, Ondrej Pokorny
    14