Leaderboard
Popular Content
Showing content with the highest reputation on 05/23/24 in Posts
-
Ugh. Rewritten in C# using WPF, It's ironic that they've named the new application "Dependencies"; The old one had 1 DLL. The new has 54 DLLs.
-
Detect CTRL or SHIFT Keys Being Held Down at Application Start.
Anders Melander replied to RockWallaby's topic in VCL
Use GetAsyncKeyState instead of GetKeyState. GetKeyState will get you the state of the keys when a message was last read from the Windows message queue. This may or may not correspond to the current keyboard state. GetAsyncKeyState will get you the current state. -
Kudos on the just released update for Delphi 12, much appreciated! I have seen a previous reply from the dev that support for dark themes are not going to be done. Their choice of course, I understand. Regardless, I'm throwing my vote in for a change eventually. 😄 Imagine that you're running Delphi in Dark mode... on a really good size monitor... (55" in this case) It looks pretty good, except for the GExpert Grep results, which in contrast to the rest of the IDE, now tries to fry my retinas. LOL Anyway... Seriously, if there's any way a volunteer could help with this... I'd put my hand up.
-
Stack Overflow Developer Survey for 2024
corneliusdavid replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
And don't forget to select MS Build for "developer tools for compiling, building and testing" as that's what the Delphi IDE uses. -
Why does IDE require UAC elevation when starting?
Brandon Staggs replied to Tom F's topic in General Help
Some of the worst offending software is "mainstream" anti-malware, in my experience. I have lost count of how many sudden problems were the result of mainstream security software screwing things up. Not saying that is the problem here, but the lengths you went to to make your Delphi IDE start up are extreme and would not happen "naturally" with Windows and the Delphi installer. -
What do you think of "Local Global variables"
corneliusdavid replied to Tommi Prami's topic in RTL and Delphi Object Pascal
I have found myself writing a method that then got longer than I originally anticipated. In order to keep it to a manageable size, I would separate sections out to sub-procedures but then find it necessary to refactor and the decision to send parameters to these new subroutines or not generally ends up with these "local global variables" instead so I don't have to change so much of the code. Yes, it's a little lazy but I never considered any performance hit until reading this thread. Still, for these programs, the performance is usually negligible. And for the record, I never start out with the intention of writing nested procedures like this, it only happens after-the-fact during a refactor process. -
Product: Delphi Parser - AI claims - what does it mean?
corneliusdavid replied to Jasonjac2's topic in Delphi Third-Party
Yes, I have used the UniGUI Migration tool on a fairly small (~40k lines) Delphi XE project. It's supposed to take a VCL program and replace all the components with their UniGUI equivalents so that you can turn your Windows-only program into one that runs through the web. As most typical applications, I use a few third-party components like DevExpress Quantumn Grid, Raize Controls, and some spell-check components. I figured I'd either lose functionality or have to find replacements for a few but was surprised that the migration tool does not support ANY third-party controls; in fact, it doesn't even support all the VCL ones. It doesn't know how to translate TLabeledEdit, TNotebook, TGridPanel, TBalloonHint, TBevel, TDBRichEdit, TDropDownButton, or (a big one for me in this particular project) TCategoryButtons. Many of these I could modify the script to add direct replacements but something like TLabeledEdit that needs both a TLabel and a TEdit, you have to do manually (separate into two VCL components in the original code before migrating). Things like TBalloonHint just get deleted as the functionality on a web app is different. Also, none of the dialog components (TOpenDialog, TSaveDialog, TTaskDialog, TPrinterSetupDialog) are supported. For most of the RaizeControls, I easily found the UniGUI replacements in the script for the VCL equivalents and added these to the list but I wish support for some of the more popular component sets could've been added to the standard script. If a control is not found, it's just skipped so it wouldn't hurt to have lots of third-party controls listed in there. The user interface is clunky--no settings are remembered between sessions, you have to hunt for the project file every time and once it's finished processing, the only option is to close the program. After running a migration and loading a converted project, I would make some changes to the script and have to restart the program, re-select the project file, and hit Next a few times in order to run the migration again; a minor irritation, I suppose, but for something that will be run multiple times until it looks right, having to restart and go through this whole series of steps instead of just clicking re-run or something was annoying. However, it does do a lot of the migration work for you, copying your project to a separate directory and making all the project and unit changes to produce a UniGUI project. I never did finish migrating my project to UniGUI because I was doing this on my own time and got busy with other stuff--but I still might come back to it some day and try to finish it. -
I don't think there will be a problem unless you plan to uninstall the patch at a later time. In that case Getit would try to restore the files saved during installation and this may fail. But this is just a guess based upon what I know how the installation works.
-
New offline Help Athens 12.1 (May 2024)
DelphiUdIT posted a topic in Tips / Blogs / Tutorials / Videos
New offline helps for Rad Studio 12.1 Athens are published. https://docs.embarcadero.com/products/rad_studio/ -
I don't know if could help but a rewrite of the old dependency walker is here: https://github.com/lucasg/Dependencies
-
Detect CTRL or SHIFT Keys Being Held Down at Application Start.
Lajos Juhász replied to RockWallaby's topic in VCL
You can query the state of these buttons using https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getkeystate if GetKeyState(VK_CONTROL)<0 then .... if GetKeyState(VK_SHIFT)<0 then .... -
Hardly FUD. You really should do some research before responding. When I was at DEFCON last year there were speakers from the EFF talking about the EU laws, and I have friends who work in cybersecurity here in the states. Hardening the software development supply chain is a really big deal. Update: Sorry for my snippy response. Security is in fact a really big issue. Please do read up more on it before you dismiss the concept completely.
-
Yes it does look old, but it still does the job for me. Did you give it a try?
-
Understandable. I didn't realize they jacked up the prices and complexity of certificates. And thanks for all you do in maintaining GExperts!
-
I'm not going to buy a certificate just so I can sign my open source programs. But if anybody else wants to create a signed installer, go ahead. GExperts is open source after all. Just make sure you comply with the license.
-
Product: Delphi Parser - AI claims - what does it mean?
msohn replied to Jasonjac2's topic in Delphi Third-Party
Wow, I think my bullshit-meter just broke. Their marketing sounds like a non-technical managers dream. -
Stack Overflow Developer Survey for 2024
Lars Fosdal replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
Or Androids... -
Stack Overflow Developer Survey for 2024
Jim McKeeth replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
I'm curious if everyone gets the same "make sure you are paying attention" question... I wonder if this answer is valid. -
What do you think of "Local Global variables"
Uwe Raabe replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Usually, yes! Peganza Pascal Analyzer even has a report for that: -
I'd be happy to see dark mode for GExperts too - I'm a dark mode user. I also wish these forums had a dark mode!
-
How can I enlarge the font of a Combobox in Delphi FMX?
programmerdelphi2k replied to MikeZ87's topic in FMX
A "ComboBox" is a container to items = ListBoxItems, for that the styles is applyed on items, not necessary in the container! try use Styles customizations on Combobox -> right-click on ComboBox and Edit Styles customs... and do the changes...- 13 replies
-
- fmx
- firemonkey
-
(and 5 more)
Tagged with: