

JonRobertson
Members-
Content Count
289 -
Joined
-
Last visited
-
Days Won
7
Everything posted by JonRobertson
-
Feature enhancement request - Filter DFM properties
JonRobertson replied to pyscripter's topic in GExperts
That would be useful. Or the ability to select which property changes you want ignored. The main downside would be remembering to turn off the "lock" when I intentionally make changes that I want to save. I use Beyond Compare before every commit and I'm in the habit of undoing unwanted or accidental form changes. I have been for over a decade now.- 11 replies
-
Feature enhancement request - Filter DFM properties
JonRobertson replied to pyscripter's topic in GExperts
This was a constant issue for me. Doing nothing other than opening a form and closing it would prompt me to save changes and update component positions in the DFM. Until I started using DPI Unaware mode (bds.exe "/highdpi:unaware"). Now it never occurs.- 11 replies
-
Those are the components that I was considering. I gave up on getting the trial to do what I needed and wrote my own. Luckily I only have one RDBMS to support.
-
Delphi TOIOBE index lifted in May 2022?
JonRobertson replied to wuwuxin's topic in RTL and Delphi Object Pascal
I'm not sure it is if SQL is ranked #11... -
There are a lot of resources available, if you search for them. https://www.google.com/search?q=delphi+database+books https://en.delphipraxis.net/topic/4965-delphi-books/ You will have to use a database engine of some form, and there are several to choose from. Below is a short list that are free to use. Do not require install of a database server: https://www.sqlite.org/ Also look at https://docwiki.embarcadero.com/RADStudio/Athens/en/Local_SQL_(FireDAC) (which uses SQLite) https://docs.huihoo.com/firebird/manual/ufb-cs-embedded.html Database servers: https://www.mysql.com/ SQL Server Express https://www.postgresql.org/
-
And in the topic
-
Difficulty with XKeys PIEHid32.dll in Delphi 10 Seattle
JonRobertson replied to Vitor Domingos's topic in General Help
Before the AV occurs, does your memo contain the expected results? I suspect there is a problem in the translation of the PIEHid32.h header file. I'll look further this evening, if someone else doesn't find an issue first. -
Difficulty with XKeys PIEHid32.dll in Delphi 10 Seattle
JonRobertson replied to Vitor Domingos's topic in General Help
There could be a number of reasons. The first question is where does the AV occur in the code? Did you create the interface translation of the DLL functions and types yourself? -
Gutter width changes a few seconds after IDE startup in Delphi 12
JonRobertson replied to dummzeuch's topic in Delphi IDE and APIs
Agreed. I notice it occasionally in 11.3. -
Delphi 12.2 available for download
JonRobertson replied to pyscripter's topic in Delphi IDE and APIs
Con: You have to have the external drive attached to use the application. -
Delphi 12.2 available for download
JonRobertson replied to pyscripter's topic in Delphi IDE and APIs
I agree 100%. -
To create your own, you need to implement drawing the badge on the button. Do you have experience creating visual components in Delphi? In addition to TMS, StyleControls VCL has numerous buttons that have the ability to display a "badge".
-
Switching off automatic Bookmarks?
JonRobertson replied to PeterPanettone's topic in MMX Code Explorer
I think it is more helpful that they are on by default. Once I noticed them, I went to MMX options to turn them off. I suspect many users wouldn't notice the option was available if they were not on by default. -
Delphi 12.2 available for download
JonRobertson replied to pyscripter's topic in Delphi IDE and APIs
Then why did you ask? -
Delphi 12.2 available for download
JonRobertson replied to pyscripter's topic in Delphi IDE and APIs
From the "What's new" presentation, it was said that the primary benefit is to extremely large applications (LoC, etc) and that companies with applications that large already used Enterprise or Architect. -
"Death to WITH" in your Delphi Code
JonRobertson replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Eight chars, if you include spaces. Agreed. -
I was bit by this once when trying to swap the GetIt version with the github version. I switched back to the GetIt version.
-
Delphi 12.1 : Freezed during words search
JonRobertson replied to gioma's topic in Delphi IDE and APIs
I reported issues with severe IDE instability over a year ago during a call with my account manager and one of the product managers. The PM suggested that I uninstall each add-in, one at a time, which I should have done before complaining but I hadn't taken the time. Once I uninstalled Navigator and Parallel Debugger, IDE lockups and crashes dropped from a dozen times a day to less than once a month. I've never installed Bookmarks. I suspect the culprit was Parallel Debugger. But I didn't isolate the issue further. -
What component I can use to display images in Android ?
JonRobertson replied to William23668's topic in FMX
I would try placing a TScrollBox on the form, then place three TImage components inside the scrollbox. I suspect there are other ways that may provide more flexibility. I don't have the experience with FMX to suggest a better option. -
PLABEL VCL Labelling, FlowChart and Technical Drawing editor
JonRobertson replied to Alberto Fornés's topic in Delphi Third-Party
That looks impressive. I don't have a need, but I would give them a try if I did. -
"Death to WITH" in your Delphi Code
JonRobertson replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
I've been working in Delphi 7 projects for the past year. Some are being migrated to 11.3+ and some are staying with Delphi 7. I always refactor with statements away by hand, but even that can be tricky. For example, I learned after refactoring several "with dataset do ... while not Eof do ; Next;" constructs, and overlooking one call to Next, that TForm has a public Next method, related to MDI children of a MDI parent. https://docwiki.embarcadero.com/Libraries/Alexandria/en/Vcl.Forms.TForm.Next Hello infinite loop! Now, go away. -
Handling TCP send buffer overflow the right way
JonRobertson replied to Dmitry Onoshko's topic in Network, Cloud and Web
Thread-per-client does not scale well and likely would not work well for the number of connections that you've mentioned. Take a look at this answer, as well as the Raymond Chen post referenced. Maximum threads limit per process in windows 10? (superuser.com) Does Windows have a limit of 2000 threads per process? (The Old New Thing blog) -
I can't run my simple application with the About item in the About Menu.
JonRobertson replied to Miguel Jr's topic in General Help
If your About Dialog is listed as an auto-created form, you probably want to remove it from that list. This is the dialog in D11 You would select frmAbout and click the > button to move it to Available forms. There is no reason to create the dialog unless the user selects the menu option to view it. -
Did you "put the procedure in the class" by double-clicking the event in the Object Inspector? Or did you manually add it to the class declaration?
-
Watch me coding in Delphi on YouTube
JonRobertson replied to silvercoder79's topic in Tips / Blogs / Tutorials / Videos
And how to confuse the heck out of the debugger's evaluator.