-
Content Count
225 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Die Holländer
-
I always drop a Jedi's JvFormStorage on my form and that's it.. and the position and state..
-
[BUG] Mouse wheel no longer scrolls when highlighting
Die Holländer replied to Willicious's topic in Delphi IDE and APIs
Is it me or are there others that have problems by highlighting a line of text by clicking LMB and dragging the mouse along that line and at the same time use the scroll wheel to scroll vertically downwards. Somehow my fingers can't handle this process very well. Should I buy another mouse? -
Youtube Embarcadero: Best practices and top tips when developing mobile apps.
-
Which MSSQL database version and driver are you using?
-
SQL query to read a single cell from an Excel spreadsheet...
Die Holländer replied to Mark-'s topic in Databases
Maybe such is possible.. -
If TFDBatchmove suitable for one way syncing data between 2 sqlite databases?
Die Holländer replied to Jasonjac2's topic in Databases
"Bulk insert" is another term. Maybe you know it... -
If TFDBatchmove suitable for one way syncing data between 2 sqlite databases?
Die Holländer replied to Jasonjac2's topic in Databases
The Batchmove is mostly used when you have to dump a large dataset into an table once. I think what you want is to sync tables, so when something is changed in the one table there will be the same change in the other table automatically. First you make the tables the same with the data and then the trigger does the rest. The trigger must also work for two databases, especially when they are on the same database server. I'm also not familiar with SQLite but do a Goolge search on like "SQLite INSERT, UPDATE, DELETE trigger two tables" I can DM you an example of a MSSQL trigger that does this if you wish. -
If TFDBatchmove suitable for one way syncing data between 2 sqlite databases?
Die Holländer replied to Jasonjac2's topic in Databases
Is it not possible in sqlite to create a INSERT, UPDATE, DELETE trigger on the source table to sync it to the destination table? -
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.
-
Making both vertical axis visible at all times in TeeChart
Die Holländer replied to dummzeuch's topic in VCL
Is it possible to use the Afterdraw event to force the axis to be visible? procedure TForm1.Chart1AfterDraw(Sender: TObject); begin if not Chart1.Axes.Left.Visible then Chart1.Axes.Left.Visible := True; if not Chart1.Axes.Right.Visible then Chart1.Axes.Right.Visible := True; end;