Re: [Lazarus] dbg file on smb share hangs IDE

2023-05-15 Thread gabor via lazarus
W dniu 2023-05-12 o 13:55, Mattias Gaertner via lazarus pisze: Hi, When debugging a project on Windows with external debug info (.dbg) the IDE hangs. It works on the local C partition, but it hangs the IDE when the project is on a smb share. I have to kill lazarus.exe. Is this known? I notice

Re: [Lazarus] How to make TBitButton set the ModalResult properly and close the form?

2023-02-11 Thread gabor via lazarus
W dniu 2023-02-11 o 21:15, Bo Berglund via lazarus pisze: I am porting a Windows application from Delphi2007 to Lazarus/Fpc and have run into problems with the dialog forms used in the app. They are all provided with two TBitButton buttons, one for OK and the other for Cancel. But unlike how it

Re: [Lazarus] create table doesn't store

2023-02-09 Thread gabor via lazarus
W dniu 2023-02-09 o 16:32, Larry Dalton via lazarus pisze: This code says it creates TEST_TABLE, but it doesn't store it in the database. If I click the button once, it apparently creates the table. If I then click it the second time, it gives me an error code that the table exists. If I close

Re: [Lazarus] using TDBNavigator with a TStringgrid

2021-01-16 Thread gabor via lazarus
W dniu 2021-01-16 o 11:54, duilio foschi via lazarus pisze: it does not seem possible. Any workaround? Thank you Duilio Maybe TMemDataset + TDBGrid + TDBNavigator? Michał. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.la

Re: [Lazarus] Open Source IDE Written Using Delphi

2020-12-26 Thread gabor via lazarus
W dniu 2020-12-26 o 10:05, Anthony Walter via lazarus pisze: I thought this bit of information might be of interest and useful to us Lazarus people. Apparently Embarcadero has forked the Bloodshed IDE

Re: [Lazarus] Where are the coolbar and desktop config files saved?

2020-10-04 Thread gabor via lazarus
FWIW: you can simply open the search on the start button, type %appdata%, and hit enter... windows will open file manager (or whatever they're using these days) in the user's AppData directory and you can navigate in from there... this works whether "hidden items" is enabled or not... or use

Re: [Lazarus] Tool to make icons ?

2020-05-21 Thread gabor via lazarus
I use "Greenfish Icon Editor". GPL with FPC/Lazarus sources. http://greenfishsoftware.org/gfie.php W dniu 2020-05-21 o 16:13, Michael Van Canneyt via lazarus pisze: Hi, What is the tool used to make icons for standard Lazarus components ? Every time I need to make an icon for a component, I fi

Re: [Lazarus] Repainting of TWinControl children

2020-05-06 Thread gabor via lazarus
W dniu 2020-05-04 o 17:33, Martin Grajcar via lazarus pisze:   if not ((csLoading in ComponentState) or (Self is TWinControl)) then     InvalidateControl(IsControlVisible, False, true); Our component extends TCustomControl, so it doesn't get invalidated. I guess, such components are supposed

Re: [Lazarus] Lazbuild custom options

2019-02-04 Thread gabor via lazarus
You can use "build modes". Regards, Michał. W dniu 2019-02-04 o 17:38, Ryan Joseph via lazarus pisze: Is it possible to send custom options to lazbuild when building a project? .lpi files have a tag which you can use for this but I want to add extra options only when I build from lazbuild (f

Re: [Lazarus] Tell me, does this application exist?

2019-01-06 Thread gabor via lazarus
Maybe RFB/VNC/RDP/X11 or something similar will be enough? https://play.google.com/store/apps/details?id=com.realvnc.viewer.android https://play.google.com/store/apps/details?id=x.org.server https://play.google.com/store/apps/details?id=com.microsoft.rdc.android W dniu 2019-01-06 o 04:59, Anthon

Re: [Lazarus] Can't assign event procedure....

2018-10-13 Thread gabor via Lazarus
Missing "const" before Buf? procedure OnRxSS(*const* Buf: TBytes); W dniu 2018-10-13 o 20:43, Bo Berglund via Lazarus pisze: Then in the form unit where I want to use this: ... private ... procedure OnRxSS(Buf: TBytes); ... end; Regards, Michał. --

Re: [Lazarus] Custom control with stepwise size adjustment

2018-09-20 Thread gabor via Lazarus
W dniu 2018-09-20 o 19:20, Juha Manninen via Lazarus pisze: You can override procedures CalculatePreferredSize and GetPreferredSize, defined in TControl. I tried. Unfortunately, it does not work with Anchors or Align - preferred values are ignored. But size correction in ChangeBounds actually

Re: [Lazarus] Custom control with stepwise size adjustment

2018-09-20 Thread gabor via Lazarus
18-09-19 o 15:17, Vojtěch Čihák via Lazarus pisze: Try set Constraints - set MinHeight=MaxHeight=your calculated height, and the same for Width. But it will maybe fool Lazarus autosizing mechanism. V. __ > Od: "gabor via Laza

[Lazarus] Custom control with stepwise size adjustment

2018-09-19 Thread gabor via Lazarus
Hi. How to properly create a control with step-size adjustment? I mean a control whose width is a multiple of, eg. 16 (16,32,48...). In delphi, I simply override TCustomControl.SetBounds method. procedure TMyControl.SetBounds(aTop, aLeft, aWidth, aHeight: Integer); begin aWidth := (aWidth div