-
Content Count
2538 -
Joined
-
Last visited
-
Days Won
145
Everything posted by Uwe Raabe
-
Well, the FormatFloat implementation has the E15 hardcoded and even documented:
-
Well, FormatFloat acts as expected; for var I := 1 to 10 do Writeln(FormatFloat('', I/10)); for var I := 1 to 10 do Writeln(FormatFloat('', I*Power10(1, 14))); Output:
-
Have you tried with AxisValueFormat being empty?
-
At least that is how I read the license:
-
When you create a new test project and add one of the units for testing, the project won't compile unless all dependent units can be found. So you need to add the search paths accordingly. There is nothing wrong with having dependencies in the first place. It just makes picking only one unit from the project into another one a bit difficult. Nevertheless, it is always worth thinking about minimizing dependencies, but not only because of simpler testing. The not seems appropriate, but the term project to be tested should be changed to test project.
-
I need advice on converting a 500k lines 32bit Delphi 7 application to 64bit
Uwe Raabe replied to Yaron's topic in General Help
It depends on the actual sources. I have had projects that just needed a compile with the new version and target, while others lasted several months. -
Use of dynamic control names
Uwe Raabe replied to Bart Verbakel's topic in Algorithms, Data Structures and Class Design
That could even be simplified to: for var btn in [Button1, Button2, Button3, Button4, button5] do btn.Enabled := not btn.Enabled; -
Use of dynamic control names
Uwe Raabe replied to Bart Verbakel's topic in Algorithms, Data Structures and Class Design
First of all, keeping the default names for the buttons has never been best practice. While suggesting to have descriptive names for the buttons, this nevertheless is another way to iterate over any group of buttons: for var btn in [Button1, Button2, Button3, Button4, Button5] do btn.Enabled := True; And, no, you can't write [Button1..Button5] here. -
Tracking down exception in initialization section ? (RaiseExceptObject)
Uwe Raabe replied to Eric Grange's topic in RTL and Delphi Object Pascal
The order of units with initialization code are better retrieved by the C=ICODE entries instead of the C=CODE ones. -
How to eliminate error when searching for irrelevant file, see error below
Uwe Raabe replied to maths bengtsson's topic in VCL
Looks like it comes from GExpert. -
Tracking down exception in initialization section ? (RaiseExceptObject)
Uwe Raabe replied to Eric Grange's topic in RTL and Delphi Object Pascal
AFAIK; the initialization order of units follows the order of the ICODE (Initialization Code-Segment) segments in the Detailed map of segments in the map file. -
curl-example for POST works, Delphi code throws an 404
Uwe Raabe replied to philipp.hofmann's topic in Network, Cloud and Web
IMHO using inline variables and with together looks somewhat strange. -
Sydney is 10.4!
-
You may have hard time to find something like that, because IMHO your formatting is not consistent: After then the begin is in the next line, but after else it is not. It probably boils down to having to write your own formatter.
-
Library for modifying windows PE files?
Uwe Raabe replied to Vincent Parrett's topic in General Help
Which APIs are you looking for? -
The corresponding function is Ceil.
-
The FinalBuilder Action allows to specify a manifest, but it is not (yet) capable to build a new one from scratch. Seems you need to create one by yourself. Thankfully there is an article showing how to do it: https://www.finalbuilder.com/resources/blogs/windows-manifest-files
-
Can you try to replace the ctNone with ctAPPLICATION_JSON?
-
The Custom Body content doesn't look very JSON like. Try adding the brackets.
-
How to change the TVirtualImageList editor?
Uwe Raabe replied to luciano_f's topic in Delphi IDE and APIs
I didn't say the file exists. When a unit is neither provided as source nor as a compiled DCU, it can still be provided inside a DCP file, which is the case for the unit ImageCollectionEditor. It is contained inside dclwinx.dcp and thus can be used in other design packages. I cannot give a link or attach that file because it is not listed under the Redist folder of Delphi. -
How to change the TVirtualImageList editor?
Uwe Raabe replied to luciano_f's topic in Delphi IDE and APIs
dclwinx.dcp is located in lib\win32\release in the Delphi folder and the corresponding design package (dclwinx280.bpl for Delphi 11) is located in the bin folder. You won't find anything on the web for it, neither the package nor the unit, because Embarcadero doesn't provide any information for it. -
How to change the TVirtualImageList editor?
Uwe Raabe replied to luciano_f's topic in Delphi IDE and APIs
The package is part of the Delphi installation and the unit is included in the package. There is no source. -
How to change the TVirtualImageList editor?
Uwe Raabe replied to luciano_f's topic in Delphi IDE and APIs
Try unit Imagecollectioneditorthe in the dclwinx package. -
How to change the TVirtualImageList editor?
Uwe Raabe replied to luciano_f's topic in Delphi IDE and APIs
This Editor is for TImageList, not for TVirtualImageList. AFAIK, the editor for TVirtualImageList is not shipped as source. -
He already mentioned before: As I already own a license for HTML Components there is a good chance that it may be included as an extension to the Unit Dependency Analyzer in MMX.