-
Content Count
2957 -
Joined
-
Last visited
-
Days Won
171
Everything posted by Uwe Raabe
-
Yes, here: Enumerated Types with Explicitly Assigned Ordinality
-
Put a TPanel in the grid cell and place the label and LED onto that panel. The vertical alignment of a TLabel is controlled by its Layout property,
-
Delphi Daily WTF / Antipattern / Stupid code thread
Uwe Raabe replied to Tommi Prami's topic in RTL and Delphi Object Pascal
As ProcessMessage already does all the work, there is not much to do in the body of this loop. -
upcoming language enhancements?
Uwe Raabe replied to David Schwartz's topic in RTL and Delphi Object Pascal
Well, obviously announcing is easier than implementing. -
upcoming language enhancements?
Uwe Raabe replied to David Schwartz's topic in RTL and Delphi Object Pascal
There definitely is a plan! The problem is how much of that plan turns into reality. -
Would you mind writing in English, please? Otherwise a Personal Message would be a better choice.
-
I also use Delphi in many VMs. To overcome the installation limit I have switchen to a Network Named License and make use of my own license server (ELC). This allows me to install Delphi on as many VMs I want as long I have it running on up to three machines simultaneously.
-
That menu item should be enabled whenever you have the CPU window open while debugging.
-
D10.4.2 where's setting to not debug into RTL ?
Uwe Raabe replied to David Schwartz's topic in Delphi IDE and APIs
SelectiveDebugging -
The VCL already provides such a flag for you: TApplication.ModalLevel
-
Structured Difference Viewer added to MMX Code Explorer
Uwe Raabe replied to Uwe Raabe's topic in MMX Code Explorer
Usually the MMX setup installs the app and also registers it into the Delphi IDE. You only have to select it as the default viewer. -
Should a TDataSet allow changing the .SQL property while being open?
Uwe Raabe replied to aehimself's topic in Databases
I expect the dataset to be closed when SQL changes. Otherwise the records would not match the SQL anymore. One can easily extend this to all other properties that have influence on the data retrieved and the way it can be accessed. What would be the benefit of an immediate exception here? The author of the code wants to change the SQL, so what would be the gain from that exception (which happens at runtime btw.)? The dataset has to be closed anyway to change the SQL, so why not closing it automatically? Unfortunately this option is not available in the poll (at least as I understand it). -
Of you compile with packages and allow external packages be loaded dynamically.
-
Both tools have a completely different approach. While DelphiAST analyzes source code, the class tree utility requires the classes to be compiled into the exe.
-
If possible, could you be a bit more specific? I mean, that is a bit vague, isn't it?
-
You have to activate that option:
-
You can define the group names per project in MMX Properties - Project options: A single identifier is treated as a group prefix which has to be followed by a dot (like System, VCL, FireDAC). You can also use wildcards like Rz* for all units from Raize Components (KSVC). Unit names not covered in one of the schemes above can be listet in brackets. This is the setting for MMX itself: (ToolsApi,DesignIntf,DCCStrs,DockForm,TabDock);Winapi;System.Win;System;Xml;Vcl;VirtualTrees*;Rz*;Tb*;Png*;MMX The settings are stored in the dproj file.
-
Can I force compiler to report on enum change that related code needs changing?
Uwe Raabe replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
It needs some code to be added, but you can declare a const array[<enumeration>] of Integer with values 0 in all places where the enumeration is used in some way. const cCheckProjectType: array[TProjectType] of Integer = (0, 0, 0, 0); If you now extend TProjectType the compiler will stop at all places where such a declaration is present and you can inspect the code around for correct TProjectType usage. After that is done you extend the array values to make the compiler continue to the next problematic position. -
Using Attributes in class declarations
Uwe Raabe replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
Very good point 👍 -
TFDQuery (Master/Detail) with CachedUpdates Too Slow on Delphi 10.4.2
Uwe Raabe replied to dataol's topic in Databases
Enclosing the loops with a qryItemReceita.DisableControls/EnableControls should help a bit. -
You can still have the first, but nevertheless the second being active. Usually an UEFI BIOS can be made working as an old fashioned one. Unfortunately switching that back to UEFI mode requires some significant work to make Windows boot again.
-
Two things that are sometimes overlooked: UEFI BIOS TPM 2.0 For the second item there is an article (in German): Windows 11 läuft wohl nicht auf Intel-Macs
-
Build / Output messages filtering plugin
Uwe Raabe replied to CoMPi74's topic in Delphi IDE and APIs
AFAIK, there is currently no mechanism to intercept the message display via OTAPI. -
Apache Module with TDataSet Needs Wait Cursor
Uwe Raabe replied to corneliusdavid's topic in Network, Cloud and Web
Have you checked that opening the relevant FireDAC dataset (whatever is happening in dmParksDB.OpenParks) actually contains data on Linux? I mean, if there is no data in the dataset what can we expect?- 15 replies
-
- firedac
- waitcursor
-
(and 3 more)
Tagged with:
-
Apache Module with TDataSet Needs Wait Cursor
Uwe Raabe replied to corneliusdavid's topic in Network, Cloud and Web
I get the feeling that is isn't related to the wait cursor, but the timer implementation that comes with either of the Wait implementation units. While both the VCL and FMX implementations use a TTimer (VCL/FMX), the console implementation simply doesn't support a timer at all.- 15 replies
-
- firedac
- waitcursor
-
(and 3 more)
Tagged with: