Re: [Lazarus] TMenu(Item) AutoLineReduction: help needed from Delphi users/owners

2024-09-12 Thread Werner Pamler via lazarus
This is with Delphi XE 11.3 (Community Edition) (do you know that the Community Edition is free? Its license conditions (non-commercial or commercial if total revenues < 5000 $) certainly apply to FPC/Laz development): Question 1. Given the following Menu: TopLevel - ItemA - Separator - Item

Re: [Lazarus] SQlite format issue in DBGrid with non persistant field definition

2024-07-30 Thread Werner Pamler via lazarus
Am 19.07.2024 um 14:40 schrieb John Landmesser via lazarus: The issue is of course gone if i have persistant field definitions where i can set Field.Displayformat But nothing prevents you to do this also with auto-created fields:     TFloatField(SQLQuery1.FieldByName('Number')).DisplayFormat :

Re: [Lazarus] Multiple versions of the same package and its dependencies?

2024-06-04 Thread Werner Pamler via lazarus
Am 04.06.2024 um 11:49 schrieb Luca Olivetti via lazarus: I have a problem with one project and zeosdbo, so I'm trying different versions of zeosdbo. In the project inspector I change the min/max version of the required package (zcomponent) so it uses the one I want to try. Lazarus knows all ver

Re: [Lazarus] vertically space controls

2024-04-28 Thread Werner Pamler via lazarus
Am 28.04.2024 um 18:56 schrieb duilio foschi via lazarus: I select N controls in a form. C1 is the top control. C6 is the lowest control. I want controls C1..C6 be equally spaced in the vertical space given by C1.Top and C6.Top. In Delphi 5 IDE I had the Alignment Palette by which I could do

Re: [Lazarus] I can't exit this component

2024-03-29 Thread Werner Pamler via lazarus
Am 29.03.2024 um 12:09 schrieb Arí Ricardo Ody via lazarus: procedure TfrmGeraString.tedtNomArqMicEnter(Sender: TObject); The "Enter" in this method name indicates that you assigned the event handler to the OnEnter event of something (a button maybe). This means that whenever the mouse is moved

Re: [Lazarus] Need a good replacement for TMemo

2024-02-07 Thread Werner Pamler via lazarus
Am 07.02.2024 um 22:42 schrieb Juha Manninen via lazarus: On Wed, Feb 7, 2024 at 2:46 PM John Landmesser via lazarus wrote: Please test RichMemo for Linux AND Windows! Long ago i tried to use RichMemo that worked for windows but not for linux! I cloned the GitHub repo (https://g

Re: [Lazarus] Need a good replacement for TMemo

2024-02-07 Thread Werner Pamler via lazarus
Am 07.02.2024 um 11:57 schrieb Juha Manninen via lazarus: I guess you mean delete from CCR. Yes please. Having such duplicates will always cause problems but won't bring any benefits. Done.-- ___ lazarus mailing list lazarus@lists.lazarus-ide.org http

Re: [Lazarus] Need a good replacement for TMemo

2024-02-07 Thread Werner Pamler via lazarus
Am 07.02.2024 um 07:49 schrieb Juha Manninen via lazarus: On Tue, Feb 6, 2024 at 11:31 PM Timothy Groves via lazarus wrote: ... and RichMemo won't work.  (It will compile in, but then Lazarus crashes on startup with an Access Violation.) I updated lazarus-ccr repo and tried to instal

Re: [Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-22 Thread Werner Pamler via lazarus
Am 21.11.2023 um 21:17 schrieb Bo Berglund via lazarus: On Tue, 21 Nov 2023 19:29:58 +0100, Bo Berglund via lazarus wrote: - Set video speed --- To set the speed this is what I use in my code: procedure TfrmMain.btnFFClick(Sender: TObject); begin vlcPlaye

Re: [Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Werner Pamler via lazarus
Am 16.11.2023 um 13:30 schrieb Bo Berglund via lazarus: 2) Retrieve the Lazarus 2.2.6 sources from GitLab IIRC, the fppkg check has been by-passed by Laz 3.0. So, please try to install the RC2 of v3, or a wait a short time until the final version will be released.-- ___

Re: [Lazarus] Compilation failed : PolygonNonZeroWindingRule unknown

2023-07-28 Thread Werner Pamler via lazarus
Am 28.07.2023 um 15:10 schrieb Michael Van Canneyt via lazarus: It is Laz/Main (updated today), FPC 3.2.2 and clean rebuild (I have the option 'clean always' set in the lazarus build config). This is my standard development system. No problem with it. Where is this PolygonNonZeroWindingRule su

Re: [Lazarus] Compilation failed : PolygonNonZeroWindingRule unknown

2023-07-28 Thread Werner Pamler via lazarus
Am 28.07.2023 um 11:37 schrieb Michael Van Canneyt via lazarus: I updated my lazarus today, and the following fails: procedure TLazCanvas.Polygon(const Points: array of TPoint; Winding: Boolean); begin   PolygonNonZeroWindingRule := Winding;   inherited Polygon(Points); end; it does not know

Re: [Lazarus] locate command for dBase

2023-05-27 Thread Werner Pamler via lazarus
The attached project demonstrates that dbf.Locate works as expected. <> -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Microsft Access Date Select statment

2023-03-24 Thread Werner Pamler via lazarus
Am 24.03.2023 um 21:48 schrieb Larry Dalton via lazarus: No matter how I format the beginning and ending dates, it doesn't work. If I format the dates in quoted strings ('20230101') or any variation, I get the incompatible types errors. Enclose the date/time by '#', put the date parts in year/

Re: [Lazarus] Modifications to TurboPower IPro?

2023-03-23 Thread Werner Pamler via lazarus
Am 23.03.2023 um 01:07 schrieb Don Siders via lazarus: My question: Is there a maintainer for IPro that I can offer the patches to? Or, should I post them here or to the issue tracker? It's probably me who did most of the changes recently. Although I do not consider myself as the "maintainer" (I

Re: [Lazarus] converted Delphi 7 project: add new form not possible?

2023-02-24 Thread Werner Pamler via lazarus
Am 24.02.2023 um 21:35 schrieb John Landmesser via lazarus: Hi, I tried to extend an existing and converted  Delphi 7 project by adding new form to the converted Delphi 7 project. But that leads to an AV-error if i try to show this new form by code! I normally convert Delphi projects manually

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-22 Thread Werner Pamler via lazarus
Am 22.02.2023 um 21:15 schrieb Bo Berglund via lazarus: Now running that older version but with a partially installed package... bglcontrols.lpk is not installed but bgrabitmappack.lpk is. So the whole thing is partially installed. How can I *remove it totally* such that it is not existing at al

Re: [Lazarus] Canvas.TextRec aligns to canvas and not rectangle for tlTop and taLeftJustify.

2023-02-19 Thread Werner Pamler via lazarus
Am 19.02.2023 um 08:00 schrieb Russ via lazarus: When writing text to the canvas using Canvas.TextRec(), using layout tlTop and/or alignment  taLeftJustify, the text is aligned to the canvas left and top edges instead of those edges of the text rectangle. The other layout and alignment cases wo

Re: [Lazarus] odbc driver

2023-02-06 Thread Werner Pamler via lazarus
Am 06.02.2023 um 14:27 schrieb Larry Dalton via lazarus: procedure TForm1.Button1Click(Sender: TObject); begin  ODBCConnection1.Driver:='Microsoft Access Driver (*.mdb,*.accdb)';   ODBCCOnnection1.params.add('DBQ='+ExtractFilePath(Application.ExeName)+'MyAccess.accdb');  ODBCConnection1.Connected

Re: [Lazarus] How to populate a TListView programatically

2022-11-16 Thread Werner Pamler via lazarus
Am 17.11.2022 um 00:03 schrieb Aruna Hewapathirane via lazarus: Does anyone have any example code that populates a Listview component through code please? procedure TForm1.FormCreate(Sender: TObject); var   item: TListItem;   i: Integer; begin   for i := 0 to 9 do   begin     item := ListView1.I

Re: [Lazarus] How to fix slow screen refresh of TListbox?

2022-11-11 Thread Werner Pamler via lazarus
Am 11.11.2022 um 16:29 schrieb Bo Berglund via lazarus: You see that the buffer contains the complete log history from the start... When the first block of data has arrived I would store the length of the buffer at this time. Then next time when new data come in, I would extract the "new data

Re: [Lazarus] Lazarus does not find compiled package, why?

2022-10-30 Thread Werner Pamler via lazarus
Am 30.10.2022 um 19:42 schrieb Bo Berglund via lazarus When I am at it: Is there a way on Windows to enumerate the existing serial ports so I can put a selector list on the form? I have the following code in one of my projects (Windows-only). It creates a comma-separated list to assigned to a

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-30 Thread Werner Pamler via lazarus
Am 30.06.2022 um 17:03 schrieb Ondrej Pokorny via lazarus: On 30.06.2022 16:54, Werner Pamler via lazarus wrote: Am 30.06.2022 um 15:11 schrieb Mattias Gaertner via lazarus: Maybe instead of the GraphicClass.ClassName the first extension can be written. That means, that an old IDE cannot read

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-30 Thread Werner Pamler via lazarus
Am 30.06.2022 um 15:11 schrieb Mattias Gaertner via lazarus: Maybe instead of the GraphicClass.ClassName the first extension can be written. That means, that an old IDE cannot read the graphic. This will break Delphi compatibility, i.e. forms with an image in which the Picture has been loaded by

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-26 Thread Werner Pamler via lazarus
Am 26.06.2022 um 13:20 schrieb Luca Olivetti via lazarus: El 26/6/22 a les 11:36, Werner Pamler via lazarus ha escrit: Am 26.06.2022 um 10:54 schrieb Luca Olivetti via lazarus: VampyreImaginPackage 0.80 Mine is v0.82 which is the current version in OPM. According to their release notes

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-26 Thread Werner Pamler via lazarus
Am 26.06.2022 um 10:54 schrieb Luca Olivetti via lazarus: VampyreImaginPackage 0.80 Mine is v0.82 which is the current version in OPM. According to their release notes there are changes related to PNG saving. -- ___ lazarus mailing list lazarus@lis

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-25 Thread Werner Pamler via lazarus
Am 26.06.2022 um 00:14 schrieb Luca Olivetti via lazarus: First observation after installing VampyreImagingPackageExt (the other package, VampyreImagingPackage, has no registration unit): I add TImage to a form and load the Lazarus "paw" to it. Works fine at designtime, but at runtime the image

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-24 Thread Werner Pamler via lazarus
Am 24.06.2022 um 11:30 schrieb Mattias Gaertner via lazarus: On Fri, 24 Jun 2022 11:09:17 +0200 Werner Pamler via lazarus wrote: [...] It is my impression there is no way to register a new format in any way without modifying the sources of TPicture. TPicture: class function

Re: [Lazarus] Strange issue with TImage and lazarus 2.2.2

2022-06-24 Thread Werner Pamler via lazarus
Vampyre has its own file format registration system. There is a class TImageFileFormat, and there is a list ImageFileFormats which stores the parameters for all known file formats. Each file format has a reader/writer unit, and these units add the file format to the ImageFileFormatsList if such

Re: [Lazarus] Component palette enhancements

2022-04-06 Thread Werner Pamler via lazarus
Am 06.04.2022 um 12:56 schrieb Michael Van Canneyt via lazarus: 3. Please add a search edit in the component palette, as delphi has it:    typing in that edit should reduce the visible tabs to show only tabs that have a    component with the typed text in the classname, just like the one on the

Re: [Lazarus] Component icons howto ?

2022-03-30 Thread Werner Pamler via lazarus
Am 30.03.2022 um 11:21 schrieb Ondrej Pokorny via lazarus: I am not against extending the component icon loading to handle a different file name convention. As Delphi uses the same concept that you prefer https://blogs.embarcadero.com/new-in-10-2-2-component-icons/ , if the Lazarus code should

Re: [Lazarus] Component icons howto ?

2022-03-29 Thread Werner Pamler via lazarus
Am 29.03.2022 um 18:37 schrieb Michael Van Canneyt: So you must always register the three images. You are not forced to. But when you provide only the standard size and run the IDE at 200% the IDE will upscale the 24x24 image to double size, and the icon will become blurry - just as it was in

Re: [Lazarus] Component icons howto ?

2022-03-29 Thread Werner Pamler via lazarus
Am 29.03.2022 um 15:50 schrieb Michael Van Canneyt via lazarus:    I see there are 3 icons for every standard component:    mycomponent, mycomponent_150 and mycomponent_200    How does the IDE pick which image it needs ? The basic image name must match the component name (including the "T").

Re: [Lazarus] ODBC configurations for Excel on Lazarus

2022-03-12 Thread Werner Pamler via lazarus
Am 11.03.2022 um 23:43 schrieb Michael Van Canneyt via lazarus: Cool, I didn't know that one yet ! :-) Is there an example for it's use ? Given the way companies often rape excel sheets, this component will make life a lot easier for many things :-) There are two examples in folder examples/da

Re: [Lazarus] ODBC configurations for Excel on Lazarus

2022-03-11 Thread Werner Pamler via lazarus
Am 11.03.2022 um 23:03 schrieb Michael Van Canneyt via lazarus: Would it not be easier to use fpspreadsheet ? Accessing excel through odbc seems a rather roundabout way. Yes, definitely (https://wiki.lazarus.freepascal.org/FPSpreadsheet). In the most recent release there is even a TsWorksheet

Re: [Lazarus] How to convert Delphi program with TRichEdit?

2021-12-09 Thread Werner Pamler via lazarus
Am 09.12.2021 um 16:19 schrieb Bo Berglund via lazarus: How can I use this? Very easy: just load the file procedure TForm1.FormCreate(Sender: TObject); begin   hex := TMpHexEditor.Create(self);   hex.Parent := self;   hex.Align := alClient;   hex.LoadFromFile('Project1.exe'); end; --

Re: [Lazarus] TextHint in TComboBox

2021-11-15 Thread Werner Pamler via lazarus
Am 15.11.2021 um 16:37 schrieb Marcos Douglas B. Santos via lazarus: I need to implement a TextHint property—as we have in TEdit— in a  component inherited from TComboBox. Doesn't matter if it will be "emulated" or not. My first thought was copying from TEdit... however, is this the better wa

Re: [Lazarus] TMainMenu missing header

2021-11-06 Thread Werner Pamler via lazarus
Am 06.11.2021 um 16:58 schrieb Larry Dalton via lazarus: I recently upgraded to 2.2.0RC1. After recompiling several applications I noticed that my TMainMenu headings have disappeared. To use them I had to change the class to TPopupmenu and tie them to TButtons. What caused this? What are the

Re: [Lazarus] test

2021-06-10 Thread Werner Pamler via lazarus
did receive the test Am 10.06.2021 um 15:47 schrieb Marc Weustink via lazarus: test -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] lazarus trunc IDE compile error

2021-01-04 Thread Werner Pamler via lazarus
Am 04.01.2021 um 19:32 schrieb Martin Frb via lazarus: On 04/01/2021 19:05, John Landmesser via lazarus wrote: Something went wrong? last running trunc version:   Lazarus 2.1.0 r64270 FPC 3.2.0 x86_64-linux-gtk2 Same with FPC 3.0.4 / 64bit / windows Sorry, the initial fix for FPC-trunk

Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Werner Pamler via lazarus
You are talking of runtime code only. Here are instructions how to create a Lazarus runtime package (I never created an FPC package...): Go to "Package" > "New package", specify name and location of the new package, an empty package will be created automatically. In the package editor which ope

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Werner Pamler via lazarus
Am 28.12.2020 um 02:03 schrieb Mattias Gaertner via lazarus: What package opens hh.exe in Lazarus? No special package needed. As I described in https://wiki.freepascal.org/Installing_Help_in_the_IDE#Installing_CHM_help_.28Lazarus_1.0_and_later.29, hh.exe (the Windows help viewer) can be made to

Re: [Lazarus] Installing custom control in Lazarus - where can I find it?

2020-08-27 Thread Werner Pamler via lazarus
Am 27.08.2020 um 22:51 schrieb Bo Berglund via lazarus: Now the strangest thing is that in this process Lazarus has completely mangled the EasyListView.pas source file so it now only has this content wheras the original was 27 kbytes: I guess the component code is in unit EasyListView.pas a

Re: [Lazarus] How to stop the ChildSizing?

2020-06-12 Thread Werner Pamler via lazarus
Am 12.06.2020 um 00:36 schrieb Martin Grajcar via lazarus: There's a TPage containing a few components I want to position and size manually (sort of position: 'absolute' in CSS). It works well, but then the LCL comes and overrides my work I've played with Anchors, AutoSize and Align of bot

Re: [Lazarus] Tool to make icons ?

2020-05-21 Thread Werner Pamler via lazarus
Am 21.05.2020 um 18:06 schrieb Michael Van Canneyt via lazarus: Now I still need to learn some Inkscape, but that's for later :-) I feel with you... Unfortunately every graphics program has its own short cuts and places in the menus and toolbars, and yes, Inkscape, like the well-respsected Gi

Re: [Lazarus] Tool to make icons ?

2020-05-21 Thread Werner Pamler via lazarus
Am 21.05.2020 um 17:45 schrieb Michael Van Canneyt via lazarus: Where are the SVG sources for the icons ? https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/image_sources/ -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus

Re: [Lazarus] Tool to make icons ?

2020-05-21 Thread Werner Pamler via lazarus
Am 21.05.2020 um 16:13 schrieb Michael Van Canneyt via lazarus: What is the tool used to make icons for standard Lazarus components ? Roland Hahn who designed most of the palette and a good part of the toolbar icons is using Inkscape. This may be a bit surprising because Inkscape is a vector

Re: [Lazarus] TComboBox.ReadOnly

2020-05-02 Thread Werner Pamler via lazarus
Am 02.05.2020 um 16:15 schrieb Juha Manninen via lazarus: Ok, I removed it in r63112. Something must be screwed up in TComboboxEx. Don't worry, not by the removal of the ReadOnly property, but it must have been around for a long time since the beginning: This component introduces a new Style

Re: [Lazarus] TBufDataset issues

2020-05-01 Thread Werner Pamler via lazarus
There's another design-time related issue with AutoInc fields: see forum post https://forum.lazarus.freepascal.org/index.php/topic,49614.msg360102.html#msg360102. The post contains a small demo to show the issue. -- ___ lazarus mailing list lazarus@li

Re: [Lazarus] TBufDataset issues

2020-04-30 Thread Werner Pamler via lazarus
Am 30.04.2020 um 10:45 schrieb Michael Van Canneyt via lazarus: I added several menus: - Create dataset (what you need) - Save data to file (allows to save data in memory to file) - Load data from file (allows to load data from a file into memory) - Copy data from another dataset (what it says o

[Lazarus] TBufDataset issues

2020-04-29 Thread Werner Pamler via lazarus
Playing with TBufDataset I came across some issues: (1) Creating fields at designtime: In order to create fields at designtime to a new TBufDataset component I add FieldDefs by clicking the '...' next to "FieldDefs" in the Object Inspector and fill in the required data. But there is no way to

Re: [Lazarus] Add your own fpmake packages to the fppkg-repository

2020-04-19 Thread Werner Pamler via lazarus
Am 17.04.2020 um 13:43 schrieb Joost van der Sluis via lazarus: Everyone can log-in with a bug-tracker of forum account. Note that every fpc-version has it's own repository. And that there are two flavours: testing and production. Everyone can add packages to testing. For now adding to producti

Re: [Lazarus] Freepascal/Lazarus forum and Lazarus website outage wrap-up

2020-02-12 Thread Werner Pamler via lazarus
Thank you for all the effort. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] IDE rebuild fails on raspi4

2020-02-07 Thread Werner Pamler via lazarus
Am 07.02.2020 um 11:16 schrieb Tom Lisjac via lazarus: Trying to get Lazarus working on the raspberry pi 4 with the latest Raspbian (Debian 10.2). Installed 2.0.0+dfsg-2 with synaptic from the Raspbian repos, but haven't been able to install components and rebuild the IDE, due to:   VirtualTr

Re: [Lazarus] Duplicate items in xml doc files

2019-12-19 Thread Werner Pamler via lazarus
Am 19.12.2019 um 20:48 schrieb Don Siders via lazarus: That's a possibility. Mistakes happen. But in looking at the file there are several duplicates. I don't think I would have been that careless. Just to make sure: It was never my intention to say that you did. I edit manually too. It's ne

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Am 18.12.2019 um 13:11 schrieb Marco van de Voort via lazarus: A lemma in the help that is just "polybezier", and not TCanvas.polybezier. I assume it is a global procedure The lemma has Source position: winapih.inc line 211 I looked at TCanvas.PolyBezier (the help text is in graphics.xml). Th

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Am 18.12.2019 um 16:36 schrieb Werner Pamler via lazarus: Am 18.12.2019 um 16:29 schrieb Michael Van Canneyt via lazarus: That's why the docs of fpc have the checkxml tool, which is used to quickly check the XML structure after editing, before committing or building. Thanks - I did not

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Am 18.12.2019 um 16:29 schrieb Michael Van Canneyt via lazarus: That's why the docs of fpc have the checkxml tool, which is used to quickly check the XML structure after editing, before committing or building. Thanks - I did not know that. -- ___ laz

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Disregarding LazFPDoc for the moment: I do like the FPDoc Editor because once I understood its principle I could simply edit existing and create new help items. And moving the mouse over the corresponding keywords in the text gave an immediate feedback. But now I am quite confused because it d

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Am 18.12.2019 um 11:05 schrieb Marco van de Voort via lazarus: Op 2019-12-17 om 22:52 schreef Werner Pamler via lazarus: Fixing a docs-related issue today (https://bugs.freepascal.org/view.php?id=36452), I noticed that the entry for TCanvas.PolyBezier almost does not have any elements when

[Lazarus] Duplicate items in xml doc files

2019-12-17 Thread Werner Pamler via lazarus
Fixing a docs-related issue today (https://bugs.freepascal.org/view.php?id=36452), I noticed that the entry for TCanvas.PolyBezier almost does not have any elements when the item is displayed in the *FPDoc editor* of Lazarus, i.e. I do "View" > "FPDoc Editor" and place the cursor in the normal

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Werner Pamler via lazarus
Once having voted the current results are displayed. But when I want to see later how the poll has evolved I can only vote again -- that's probably not what you intend. Either add a button to display the current results, or don't display results at all until the poll has ended. -- _

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Werner Pamler via lazarus
I am missing the option "No change wanted towards this direction". Without this option the poll is biased. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] [Lazarusdev] RFC --- We are planning the next release: Lazarus 2.0.6

2019-10-16 Thread Werner Pamler via lazarus
Am 16.10.2019 um 16:52 schrieb Juha Manninen via lazarus: On Wed, Oct 16, 2019 at 4:41 PM Werner Pamler via lazarus wrote: I don't know what you are referring to, here. In r61814 I had added the "System" namespace here in VTV because fpc 3.2+ has a Move method in TCollection

Re: [Lazarus] [Lazarusdev] RFC --- We are planning the next release: Lazarus 2.0.6

2019-10-16 Thread Werner Pamler via lazarus
Am 16.10.2019 um 12:31 schrieb Juha Manninen via lazarus: Your diff for VirtualTreeView replaces Move with System.Move. Why? Is there another Move in FPC 3.2 sources that would be called otherwise? Is your diff already applied somewhere or is it a patch uploaded into some bug report? I don't k

Re: [Lazarus] LCL Grids: not scalable line width

2019-10-06 Thread Werner Pamler via lazarus
Am 06.10.2019 um 12:14 schrieb AlexeyT via lazarus: IMO I have found place where width of canvas line is not scaled to current DPI. procedure TCustomGrid.ChangeCursor(ACursor: TCursor; ... Canvas.Pen.Width:=3; ... Canvas.Pen.Width:=1; AFAIK, pen widths so far are not scaled at all. If they

Re: [Lazarus] Cross-platform project. Font sizes not the same....

2019-08-21 Thread Werner Pamler via lazarus
AFIK there is no simple way to force fonts to use the same size (unless you specify a given font size - which however may not be the size of some theme of one of the target systems which will make your program look "strange"). The only way I know to make forms cross-platform is to use auto-sizi

Re: [Lazarus] TListView - how to make selected line stay selected?

2019-08-19 Thread Werner Pamler via lazarus
Did you set HideSelection to false? -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Maybe it's TreeView hi-dpi bug on Linux?

2019-08-02 Thread Werner Pamler via lazarus
Am 02.08.2019 um 21:18 schrieb AlexeyT via lazarus: I cannot test hi-dpi on Linux. Why not? Just set the DPI of your system to something higher than 96, maybe 120 or at most 144. Beyond 144dpi there will not be much left on the screen to work on... -- __

[Lazarus] wiki image update error

2019-08-02 Thread Werner Pamler via lazarus
Trying to replace some outdated images in the wiki by newer versions I noticed a crash of the wiki software: My actions: * Click on image in wiki article to be replaced * Click "Upload a new version of this file" * "Source file name" / "Browse" - navigate to new file on HD * Add description

Re: [Lazarus] It is a beautiful day...

2019-07-20 Thread Werner Pamler via lazarus
Am 20.07.2019 um 20:05 schrieb Mattias Gaertner via lazarus: On Sat, 20 Jul 2019 19:37:23 +0200 Werner Pamler via lazarus wrote: Am 20.07.2019 um 15:43 schrieb Mattias Gaertner via lazarus: On Sat, 20 Jul 2019 15:32:05 +0200 Werner Pamler via lazarus wrote: Am 20.07.2019 um 12:15

Re: [Lazarus] It is a beautiful day...

2019-07-20 Thread Werner Pamler via lazarus
Am 20.07.2019 um 15:43 schrieb Mattias Gaertner via lazarus: On Sat, 20 Jul 2019 15:32:05 +0200 Werner Pamler via lazarus wrote: Am 20.07.2019 um 12:15 schrieb Mattias Gaertner via lazarus: On Sat, 20 Jul 2019 11:59:56 +0200 Werner Pamler via lazarus wrote: You could create a meta package

Re: [Lazarus] It is a beautiful day...

2019-07-20 Thread Werner Pamler via lazarus
Am 20.07.2019 um 12:15 schrieb Mattias Gaertner via lazarus: On Sat, 20 Jul 2019 11:59:56 +0200 Werner Pamler via lazarus wrote: You could create a meta package and install that. Excuse my ignorance. , But what is a "meta package"? A package which only contains requirements of othe

Re: [Lazarus] It is a beautiful day...

2019-07-20 Thread Werner Pamler via lazarus
Great news! There is one more thing which would be helpful, at least for me. I am maintaining the Lazarus port of JVCL, and this library currently consists of 16 runtime and designtime packages (i.e. 32 lpk files), and when porting proceeds there will be more to follow. As you an imagine, it

Re: [Lazarus] Can't build Lazarus trunk because of error in fppkghelper.pas

2019-07-15 Thread Werner Pamler via lazarus
Am 15.07.2019 um 01:41 schrieb Simon Ameis via lazarus: Hello all, I'm trying to compile Lazarus trunk revision 61589 with FPC trunk revision 40356. When building the IDE, I get this error: Your FPC trunk is rather old. When I update my FPC to r42449 and Lazarus to r61591 compilation of both

[Lazarus] Critical discussion about Lazarus foundation

2019-06-28 Thread Werner Pamler via lazarus
Once more, there is a critical discussion about the Lazarus foundation in the forum (https://forum.lazarus.freepascal.org/index.php/topic,45905.msg325308). I think there should be a competent answer by the leading people. Wener -- ___ lazarus mailin

Re: [Lazarus] How to switch a project from 32 to 64 bit (on Windows 7 x64)?

2019-05-28 Thread Werner Pamler via lazarus
Am 28.05.2019 um 10:40 schrieb Bo Berglund via lazarus: Right now I have the following installed in my Win7 x64 environment: Lazarus 1.6 Lazarus 1.8 Lazarus 1.8.4 32 bit Lazarus 2.0.0 32 bit Lazarus 2.0.0 64 bit All of these have internbal fpc directories containing the correspondiing fpc compil

Re: [Lazarus] is there a free Grid component better than the default TStringGrid?

2019-05-27 Thread Werner Pamler via lazarus
Am 27.05.2019 um 06:43 schrieb Dennis via lazarus: I am hoping one that supports different column types editing without much coding on my side. That's what the standard TStringGrid can do.  Just use Columns. You can pick an editor in the ButtonStyle property. In case of the picklist editor spec

[Lazarus] Displaying additional chm help files in the IDE for other packages

2019-05-19 Thread Werner Pamler via lazarus
Motivated by Don Siders' updates to lcl xml help files I began to add to the help files for TAChart, too. The new hints do show up in the code editor, and now I am able also to build the chm file from the xml files using fpdoc. But I cannot convince the IDE to display the help files when F1 (or

Re: [Lazarus] Website/Mantis back online

2019-04-24 Thread Werner Pamler via lazarus
Am 23.04.2019 um 22:31 schrieb Bart via lazarus: On Tue, Apr 23, 2019 at 11:44 AM Werner Pamler via lazarus wrote: BTW, are regular users (i.e. without developer status) able to edit their own text after uploading? As I remember from my non-developer days this was not possible. Yes, they are

Re: [Lazarus] css Re: Website/Mantis back online

2019-04-23 Thread Werner Pamler via lazarus
Am 23.04.2019 um 12:42 schrieb Michael Van Canneyt via lazarus: On Tue, 23 Apr 2019, Martin Frb via lazarus wrote: On 23/04/2019 11:41, Werner Pamler via lazarus wrote: I am slowly getting used to it. Writing notes to some bug reports I noticed an annoying issue, though: While typing the

Re: [Lazarus] Website/Mantis back online

2019-04-23 Thread Werner Pamler via lazarus
I am slowly getting used to it. Writing notes to some bug reports I noticed an annoying issue, though: While typing the text does not wrap any more when it becomes wider than the memo (after pressing "Add Note" the text is wrapped however). I considers this important to facilitate proof-readin

Re: [Lazarus] Website/Mantis back online // activity columns

2019-04-21 Thread Werner Pamler via lazarus
Am 21.04.2019 um 01:40 schrieb Martin Frb via lazarus: On 21/04/2019 01:34, Werner Pamler via lazarus wrote: When I open a report and scroll down to the "Activities" the width of the text column is much too narrow, hardly usable, while the width of the author/date/info column is muc

Re: [Lazarus] Website/Mantis back online

2019-04-20 Thread Werner Pamler via lazarus
When I open a report and scroll down to the "Activities" the width of the text column is much too narrow, hardly usable, while the width of the author/date/info column is much too wide. It looks to me as if these two column widths are interchanged. And why the the note text in the "Activities"

Re: [Lazarus] Event with changed signature can be loaded without error

2019-04-12 Thread Werner Pamler via lazarus
Am 12.04.2019 um 20:23 schrieb Ondrej Pokorny via lazarus: On 12.04.2019 19:35, Werner Pamler via lazarus wrote: I don't know: is this changed or am I fooled by my memory? I was rather sure that when the signature of a published event is changed, forms saved with the old signature cann

[Lazarus] Event with changed signature can be loaded without error

2019-04-12 Thread Werner Pamler via lazarus
I don't know: is this changed or am I fooled by my memory? I was rather sure that when the signature of a published event is changed, forms saved with the old signature cannot be read without error. But now I notice that this is not true any more. The version of TAChart which I just committed

Re: [Lazarus] fpexif leak

2019-04-09 Thread Werner Pamler via lazarus
Am 09.04.2019 um 11:12 schrieb Michael Thompson via lazarus: G'day, I posted a patch for fpexif a little while back.  Not sure who maintains fpexif, but could they review and hopefully apply?  I forgot to add 'patch' to the name of the ticket I raised. I'm convinced it's a typo in the code..

Re: [Lazarus] New XML format for project info files

2019-04-03 Thread Werner Pamler via lazarus
Am 18.03.2019 um 06:54 schrieb Juha Manninen via lazarus: On Mon, Mar 18, 2019 at 1:12 AM Werner Pamler via lazarus wrote: I saw that you activated legacy compatibility mode by default, thank you. But now the checkbox in the project options is out of sync. Shouldn't it be checked n

Re: [Lazarus] Setting a groupbox caption bold?

2019-04-01 Thread Werner Pamler via lazarus
You did not say that you want to have bold caption for several controls. In order to "bold" all controls on a form, I use another procedure which is called from the OnCreate event of a form and recursively iterates through all controls and their children, seeks for TCustomGroupBox controls and

Re: [Lazarus] Setting a groupbox caption bold?

2019-03-31 Thread Werner Pamler via lazarus
Am 01.04.2019 um 00:09 schrieb Bo Berglund via lazarus: I have a configuration setting form where I have used group boxes to collect properties that belong together. But the groupbox border is not really well defined so I would like to be able to augment the form visually by setting the caption o

Re: [Lazarus] New XML format for project info files - disabled by default

2019-03-24 Thread Werner Pamler via lazarus
Am 24.03.2019 um 10:51 schrieb Ondrej Pokorny via lazarus: Hello Juha & Werner, I see you disabled the new item format for project info files by default on Werner's request. I understand that the first version wasn't ideal - if you needed to open a project in 2.1 and 2.0/1.8 you always had to

Re: [Lazarus] New XML format for project info files

2019-03-18 Thread Werner Pamler via lazarus
Am 18.03.2019 um 06:54 schrieb Juha Manninen via lazarus: On Mon, Mar 18, 2019 at 1:12 AM Werner Pamler via lazarus wrote: I saw that you activated legacy compatibility mode by default, thank you. But now the checkbox in the project options is out of sync. Shouldn't it be checked n

Re: [Lazarus] New XML format for project info files

2019-03-17 Thread Werner Pamler via lazarus
Am 17.03.2019 um 18:18 schrieb Werner Pamler via lazarus: Am 17.03.2019 um 13:52 schrieb Juha Manninen via lazarus: I guess I must change the default value of project compatibility option to ON after all... Yes that should be helpful I saw that you activated legacy compatibility mode by

Re: [Lazarus] New XML format for project info files

2019-03-17 Thread Werner Pamler via lazarus
Am 17.03.2019 um 13:52 schrieb Juha Manninen via lazarus: I guess I must change the default value of project compatibility option to ON after all... Yes that should be helpful. BTW, there are other nodes also in the lpi files which still are counted: * RequiredPackages * Debugging/Exception

Re: [Lazarus] New XML format for project info files

2019-03-17 Thread Werner Pamler via lazarus
Am 17.03.2019 um 12:29 schrieb Juha Manninen via lazarus: What is the problem? Suppose I fix a bug in a demo program which comes with Lazarus, it clearly is a bug and there is no reason why it should not be backported to Fixes. I usually work with trunk, and now I must think of checking the

Re: [Lazarus] New XML format for project info files

2019-03-17 Thread Werner Pamler via lazarus
Am 15.03.2019 um 17:39 schrieb Juha Manninen via lazarus: Yes, there is option : Maximize compatibility of project files (LPI and LPS) in Project Options -> Miscellaneous. I did not test the option much myself. I guess it will get tested now by you and many others. It is a typical use case aft

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread Werner Pamler via lazarus
Am 07.03.2019 um 14:12 schrieb AlexeyT via lazarus: Here's my GH repo with dialog which almost 100% mimics GTK2 FontDialog. https://github.com/alexey-t/atfontdialog On Windows the font dialog also allows to select the color which is missing here. An issue: the dialog is resizable, but the he

Re: [Lazarus] IDE unstable - Online Package manager bug

2019-02-24 Thread Werner Pamler via lazarus
Am 24.02.2019 um 12:00 schrieb Michael Van Canneyt via lazarus: I find that the IDE has become very unstable lately. I didn't install any new packages, didn't update FPC (still on FPC 3.0.4). Just updated lazarus from SVN. 4 out of 5 attempts to close the IDE using the window manager button f

Re: [Lazarus] How to configure Fppkg in IDE startup dialog with FPC 3.2 ?

2019-02-17 Thread Werner Pamler via lazarus
Am 16.02.2019 um 20:03 schrieb AlexeyT via lazarus: -I deleted FPC 3.0.4 from Linux x64 OS path (/usr/.) -Instead installed FPC fixes3.2 via FpcUpDeluxe into ~/fpcupdeluxe/fpc IDE after recompiling via FPC 3.2 now asks FPPKG path!! in startup dialog. I cannot solve it. I tried all paths fr

Re: [Lazarus] Lazarus with fpc 3.2 [was Re: [fpc-devel] Suspicion about TThread.Synchronize]

2019-02-13 Thread Werner Pamler via lazarus
Am 13.02.2019 um 17:18 schrieb Luca Olivetti via lazarus: I added a note to the wiki that both lclextensions and virtualtreeview are now included with lazarus. Which article? I want to have a look and check whether it is correct. Because the situation is more complicated: In Laz trunk (or v2.2

  1   2   3   >