Jump to content

Die Holländer

Members
  • Content Count

    225
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Die Holländer

  1. Die Holländer

    [Resolved] Window State and position saver

    I always drop a Jedi's JvFormStorage on my form and that's it.. and the position and state..
  2. Die Holländer

    [BUG] Mouse wheel no longer scrolls when highlighting

    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?
  3. Die Holländer

    FMX learning resources?

    Youtube Embarcadero: Best practices and top tips when developing mobile apps.
  4. Die Holländer

    FireDAC performances

    Which MSSQL database version and driver are you using?
  5. Maybe such is possible..
  6. "Bulk insert" is another term. Maybe you know it...
  7. 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.
  8. Is it not possible in sqlite to create a INSERT, UPDATE, DELETE trigger on the source table to sync it to the destination table?
  9. Die Holländer

    FMX TGrid no mouse events?

    ah, FMX
  10. 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.
  11. Die Holländer

    Handling Large JSON Responses Efficiently in Delphi

    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..
  12. Die Holländer

    Get Form Name

    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;
  13. Die Holländer

    A native VCL, and not Windows-based, TComboBox control.

    I don't understand. Sendmessages? The *.dfm and *.pas form files are compiled into the *.dcu and in you executable.
  14. Die Holländer

    A native VCL, and not Windows-based, TComboBox control.

    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
  15. Die Holländer

    Delphi TOIOBE index lifted in May 2022?

    TIOBE and skip the scripting languages and other non desktop application development software.
  16. Die Holländer

    TCachedDatasource

    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.
  17. Die Holländer

    Delphi TOIOBE index lifted in May 2022?

    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..
  18. Die Holländer

    What is the best AI at Delphi

    The best model for programmers is at the moment o1, o1-mini or o3-mini from OpenAI.
  19. Is there any way to train an AI model with Remy's brain?
  20. Die Holländer

    Recommended devices android testing

    Maybe more..
  21. I think a language where you can close a modal form without-modalresult being set to mrcancel..
  22. Die Holländer

    Very large h file to pas

    Isn't the headerfile for C#?
  23. Die Holländer

    Enable Discussions on github ?

    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.
  24. Die Holländer

    Making both vertical axis visible at all times in TeeChart

    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;
×