-
Content Count
212 -
Joined
-
Last visited
-
Days Won
3
Die Holländer last won the day on December 11 2024
Die Holländer had the most liked content!
Community Reputation
69 ExcellentTechnical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
-
Best Practices for Secure Authentication in Delphi REST Applications
Die Holländer replied to nolanmaris's topic in Network, Cloud and Web
Using Windows? You can take a look to it's "Credentialmanager". The Credential data is read/writeable (easy with Delphi) when logged in the machine and encrypted when outside the OS. -
Handling Large JSON Responses Efficiently in Delphi
Die Holländer replied to nolanmaris's topic in Network, Cloud and Web
Some databases support JSON tables where you can insert JSON strings and query them with normal SQL and is VERY fast. Google for example "MSSQL database JSON" >>Additionally, how can I extract only the needed data from a large JSON response without parsing the entire object? You can exactly do this with the database, because you have to create a kind of mapping to use the SQL and you can map only the fields that you need.. -
Don't set Form2 and Form3 autocreated but create them yourself. You can use the "Owner" of the forms to get the name. In Form 1 you do: uses Unit2; procedure TForm1.BitBtn1Click(Sender: TObject); var Form2: TForm2; begin Form2 := TForm2.Create(Self); Form2.Show; end; In Form2 you do: uses Unit3; procedure TForm2.BitBtn1Click(Sender: TObject); var Form3: TForm3; begin Form3 := TForm3.Create(Self); Form3.ShowModal; end; In form 3 you can do: (try to find a way to do this recursively..) procedure TForm3.BitBtn1Click(Sender: TObject); var FormName: string; begin if Assigned(Owner) and (Owner is TForm) then Begin FormName := TForm(Owner).Name; if Assigned(TForm(Owner).Owner) and (TForm(Owner).Owner is TForm) then Begin FormName := TForm(Owner).Owner.Name; End else FormName := 'No Owner'; End else FormName := 'No Owner'; ShowMessage('The form is: ' + FormName); end;
-
A native VCL, and not Windows-based, TComboBox control.
Die Holländer replied to shineworld's topic in VCL
I don't understand. Sendmessages? The *.dfm and *.pas form files are compiled into the *.dcu and in you executable. -
A native VCL, and not Windows-based, TComboBox control.
Die Holländer replied to shineworld's topic in VCL
If the issue is that these comboboxes should always contain these values in your forms I would try to create a simple *.dfm text reader and add the "items" property and the values to the comboboxes. object InputNum_1: TComboBox Left = 8 Top = 16 Width = 217 Height = 23 TabOrder = 0 end end object InputNum_1: TComboBox Items.Strings = ( 'None' '1' '2' '3' '4' '5' '6' '7' '8' '9' '10') Left = 8 Top = 16 Width = 217 Height = 23 TabOrder = 0 -
Delphi TOIOBE index lifted in May 2022?
Die Holländer replied to wuwuxin's topic in RTL and Delphi Object Pascal
TIOBE and skip the scripting languages and other non desktop application development software. -
In my experience, outdated hardware can cause databases or executables to run slowly, regardless of how well the software is programmed or optimized. No matter how much you try to increase speed through software changes, upgrading the hardware can significantly enhance performance.
-
Delphi TOIOBE index lifted in May 2022?
Die Holländer replied to wuwuxin's topic in RTL and Delphi Object Pascal
If you look to real desktop applications programming Delphi is now on 2th-3th place 😉 Interesting to see that PHP went so low so quick.. -
The best model for programmers is at the moment o1, o1-mini or o3-mini from OpenAI.
-
How to work with published properties of the Variant type correctly.
Die Holländer replied to dmitrybv's topic in Delphi IDE and APIs
Is there any way to train an AI model with Remy's brain? -
Maybe more..
-
How do I close a modal form without ModalResult being set to mrCancel ?
Die Holländer replied to dormky's topic in VCL
I think a language where you can close a modal form without-modalresult being set to mrcancel.. -
Isn't the headerfile for C#?
-
I would appreciate it if the Indy discussions, along with other third-party components, could remain here on this forum. Since installing these components, I’ve primarily been using them, but I still enjoy following the discussions. If these conversations shift to other platforms like GitHub, I propably would not bookmark them all and visit them.