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

2023-02-24 Thread John Landmesser via lazarus
Am 24.02.23 um 23:00 schrieb 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

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

2023-02-24 Thread John Landmesser via lazarus
Am 24.02.23 um 23:00 schrieb 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

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

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

2023-02-24 Thread John Landmesser via lazarus
.. and now the most interesting part: Try to show form2 with the button on Delphi 7 converted form. Before that add under implementation section: uses unit2; Now i get the AV-Error message if i try to show form2! You too see an error mesage? --

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

2023-02-24 Thread Vojtěch Čihák via lazarus
Yes, files are unit2.pas and unit2.lfm so you must manually rename the class and the form.   I tried to rename the second Form1 to Form2 in Object Inspector but it automatically changed line Application.CreateForm(TForm1, Form1); to Application.CreateForm(TForm2, Form2); in ProjectD7.lpr Buit

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

2023-02-24 Thread John Landmesser via lazarus
Am 24.02.23 um 22:21 schrieb Vojtěch Čihák via lazarus: Hi, it is my new experience with Delphi project convertor. I noticed that: The converted unit1 has:  TForm1 = class(TForm)     ListBox1: TListBox;     Button1: TButton;     And when I add a new form, i.e. unit2, it has also

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

2023-02-24 Thread Vojtěch Čihák via lazarus
Hi,   it is my new experience with Delphi project convertor. I noticed that: The converted unit1 has:  TForm1 = class(TForm)     ListBox1: TListBox;     Button1: TButton;          And when I add a new form, i.e. unit2, it has also TForm1 = class(TForm)   private     Normally (common

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

2023-02-24 Thread John Landmesser via lazarus
Sorry sysinfo missing: Lazarus: Lazarus 2.3.0 (rev main-2_3-2873-g17b66f88c4) FPC 3.2.2 x86_64-linux-gtk2 On Manjaro XFCE Linux: System:   Kernel: 6.1.1-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: Xfce v: 4.18.0     Distro: Manjaro Linux base: Arch Linux Machine:   Type:

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

2023-02-24 Thread 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! Sample not yet converted  Delphi 7 project: I hope i configured my google drive correct so this link

Re: [Lazarus] db grid/dataset components that only load currently visible records?

2023-02-24 Thread Luca Olivetti via lazarus
El 24/2/23 a les 11:10, Michael Van Canneyt via lazarus ha escrit: No. RecalcBufListSize does not necessarily fetch all the records. It fetches as much records as needed: 10 by default, but classes such as TDBGrid may set the number of needed records to the number of visible grid lines. It can

Re: [Lazarus] db grid/dataset components that only load currently visible records?

2023-02-24 Thread Michael Van Canneyt via lazarus
On Fri, 24 Feb 2023, Luca Olivetti via lazarus wrote: El 23/2/23 a les 17:16, Michael Van Canneyt ha escrit: write a TDataset descendant tailor made for this application, any pointer on how to write a minimal descendant? I'm looking at the TMemDataset implementation as an example, is it a

[Lazarus] accessible lazarus with nvda screen reader

2023-02-24 Thread Mgr. Janusz Chmiel via lazarus
Dear Lazarus elite developers,   Your product is really excellent enterprise development environment. So I have a question to you.Does someone of elite Lazarus developershave some spare time to improve GUI accessibility of Lazarus when NVDA screen reader is being used? Some not accessible

Re: [Lazarus] db grid/dataset components that only load currently visible records?

2023-02-24 Thread Luca Olivetti via lazarus
El 23/2/23 a les 17:16, Michael Van Canneyt ha escrit: write a TDataset descendant tailor made for this application, any pointer on how to write a minimal descendant? I'm looking at the TMemDataset implementation as an example, is it a good one? As good as any other. The idea is to