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

2023-02-23 Thread Luca Olivetti via lazarus
El 23/2/23 a les 17:16, Michael Van Canneyt ha escrit: Even if such a component existed, I don't think it would fit my use-case. Why do you think so ? Paging is exactly what you want to do. Not exactly, I mean, yes, it is paging but it has to be "transparent", I don't want to add "previous

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

2023-02-23 Thread Michael Van Canneyt via lazarus
On Thu, 23 Feb 2023, Luca Olivetti via lazarus wrote: El 23/2/23 a les 13:52, Michael Van Canneyt via lazarus ha escrit: On Thu, 23 Feb 2023, Luca Olivetti via lazarus wrote: El 23/2/23 a les 11:11, Michael Van Canneyt via lazarus ha escrit: But IMO: in the first place you should ask you

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

2023-02-23 Thread Luca Olivetti via lazarus
El 23/2/23 a les 13:52, Michael Van Canneyt via lazarus ha escrit: On Thu, 23 Feb 2023, Luca Olivetti via lazarus wrote: El 23/2/23 a les 11:11, Michael Van Canneyt via lazarus ha escrit: But IMO: in the first place you should ask yourself if displaying 10.000 records is what you actually w

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

2023-02-23 Thread Michael Van Canneyt via lazarus
On Thu, 23 Feb 2023, Luca Olivetti via lazarus wrote: El 23/2/23 a les 11:11, Michael Van Canneyt via lazarus ha escrit: But IMO: in the first place you should ask yourself if displaying 10.000 records is what you actually want to do. No, I just need to display 20 or so records, the probl

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

2023-02-23 Thread Luca Olivetti via lazarus
El 23/2/23 a les 12:24, Jean SUZINEAU via lazarus ha escrit: Le 23/02/2023 à 11:37, Luca Olivetti via lazarus a écrit : No, that's not possible, in any case polling isn't a problem: it's the same application that modifies the table, and it only does the "refresh" when necessary. That's exactly

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

2023-02-23 Thread Jean SUZINEAU via lazarus
Le 23/02/2023 à 11:37, Luca Olivetti via lazarus a écrit : No, that's not possible, in any case polling isn't a problem: it's the same application that modifies the table, and it only does the "refresh" when necessary. That's exactly a use case for my orm ( https://github.com/jsuzineau/pascal_o

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

2023-02-23 Thread Mattias Gaertner via lazarus
On Thu, 23 Feb 2023 11:48:06 +0100 Bo Berglund via lazarus wrote: >[...] > Next I went there again to do the rebuild, but now the button is no > longer enabled :-( > > But I found another in Tools/Build Lazarus with profile Normal IDE > If I use that will it do the same as the button you referre

[Lazarus] Pas2JS_Widget international characters issue

2023-02-23 Thread Mgr. Janusz Chmiel via lazarus
Dear elite Lazarus and Pas2js developers,Please, could someone from this kind and polite community try to find The cause of The following issue? I Am using Pas2JS_Widget because it allow Me to create GUI of WEB apps professionally even with screen reader support.I Am using The Components tree to ch

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

2023-02-23 Thread Bo Berglund via lazarus
On Wed, 22 Feb 2023 22:59:15 +0100, Werner Pamler via lazarus wrote: >You uninstall a package in the "Package" > "Install/Uninstall packages" >dialog. Select the package to be removed in the left list, click >"Uninstall selection" and then "Save and Rebuild IDE". I did the "Uninstall selection

Re: [Lazarus] TFPHTTPServer

2023-02-23 Thread duilio foschi via lazarus
that was it. Thanks a lot Peppe On Thu, Feb 23, 2023 at 11:07 AM Michael Van Canneyt via lazarus wrote: > > > > On Thu, 23 Feb 2023, duilio foschi via lazarus wrote: > > > I wrote a simple server using TFPHTTPServer. > > > > All incoming calls are processed using > > procedure HandleRequest(var

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

2023-02-23 Thread Luca Olivetti via lazarus
El 23/2/23 a les 11:25, Marco van de Voort via lazarus ha escrit: Maybe upgrade to a DBMS (like firebird, mssql,postgres) that supports notifications so that you don't have to poll, but get a notification if something changes? No, that's not possible, in any case polling isn't a problem: it's

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

2023-02-23 Thread Luca Olivetti via lazarus
El 23/2/23 a les 11:11, Michael Van Canneyt via lazarus ha escrit: But IMO: in the first place you should ask yourself if displaying 10.000 records is what you actually want to do. No, I just need to display 20 or so records, the problem is I'd like the user to be able to scroll over the whol

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

2023-02-23 Thread Marco van de Voort via lazarus
On 23-2-2023 11:02, Luca Olivetti via lazarus wrote: OTOH a TDBGrid is a very convenient way to display data. I my application I just use it to display (in read-only mode) an sqlite table that holds less than 1000 records and it could be updated quite frequently (hence the need for the frequ

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

2023-02-23 Thread Michael Van Canneyt via lazarus
On Thu, 23 Feb 2023, Luca Olivetti via lazarus wrote: El 23/2/23 a les 9:43, Michael Van Canneyt via lazarus ha escrit: Something like this: https://docwiki.embarcadero.com/RADStudio/Rio/en/Browsing_Tables_(FireDAC)#Live_Data_Window_Mode This is not something that the grid handles.

Re: [Lazarus] TFPHTTPServer

2023-02-23 Thread Michael Van Canneyt via lazarus
On Thu, 23 Feb 2023, duilio foschi via lazarus wrote: I wrote a simple server using TFPHTTPServer. All incoming calls are processed using procedure HandleRequest(var ARequest: TFPHTTPConnectionRequest; var AResponse: TFPHTTPConnectionResponse); My first tests were ok and encouraging

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

2023-02-23 Thread Luca Olivetti via lazarus
El 23/2/23 a les 9:43, Michael Van Canneyt via lazarus ha escrit: Something like this: https://docwiki.embarcadero.com/RADStudio/Rio/en/Browsing_Tables_(FireDAC)#Live_Data_Window_Mode This is not something that the grid handles. This is a dataset feature. Yes, I supposed so At this m

[Lazarus] TFPHTTPServer

2023-02-23 Thread duilio foschi via lazarus
I wrote a simple server using TFPHTTPServer. All incoming calls are processed using procedure HandleRequest(var ARequest: TFPHTTPConnectionRequest; var AResponse: TFPHTTPConnectionResponse); My first tests were ok and encouraging but... how do I know if the call was a GET or a POST? I g

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

2023-02-23 Thread Jean SUZINEAU via lazarus
May be making a custom component based on VirtualTreeView ? -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

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

2023-02-23 Thread Michael Van Canneyt via lazarus
On Thu, 23 Feb 2023, Luca Olivetti via lazarus wrote: El 23/2/23 a les 9:04, Luca Olivetti via lazarus ha escrit: Hello, do you know of any component/dataset combo that works like a TDBGrid but doesn't load all the records from the db when doing a refresh, just the ones that are currently

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

2023-02-23 Thread Luca Olivetti via lazarus
El 23/2/23 a les 9:04, Luca Olivetti via lazarus ha escrit: Hello, do you know of any component/dataset combo that works like a TDBGrid but doesn't load all the records from the db when doing a refresh, just the ones that are currently visible, yet offering seamless scrolling? I looked in the

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

2023-02-23 Thread Luca Olivetti via lazarus
Hello, do you know of any component/dataset combo that works like a TDBGrid but doesn't load all the records from the db when doing a refresh, just the ones that are currently visible, yet offering seamless scrolling? I looked in the wiki but I couldn't find any. Bye -- Luca Olivetti Wetron A