-
Content Count
2750 -
Joined
-
Last visited
-
Days Won
162
Everything posted by Uwe Raabe
-
This can also happen when the missing DataSource is not located at the same form/frame as the DB components and the IDE fails to open the datamodule (or wherever this datasource resides) for whatever reasons. I had similar experiences with actions located in a datamodule. If by any chance that datamodule shares its name with one of the IDE internal ones (including those in 3rd party modules) that can be the cause of breaking the linkage.
-
The settings are in the same dialog as the list of recent files and projects. The default is 10 projects and 15 files.
-
Special Offer for Documentation Insight
Uwe Raabe replied to baoquan.zuo's topic in Delphi Third-Party
As long as it keeps doing what it was made for even in newer Delphi versions I would not rate that negative. There is plenty of software just refusing to work anymore where I would love to see it in some maintenance mode. -
TDataSet offers a method CopyFields for that.
-
How to set TBytes array to the file size ?
Uwe Raabe replied to William23668's topic in RTL and Delphi Object Pascal
There is a function for that in System.IOUtils: MyByteArray := TFile.ReadAllBytes(filename); -
How to load a PNG file into TImage, then copy another PNG file into it
Uwe Raabe replied to alank2's topic in VCL
Sure that: var bmp: TBitmap; png: TPngImage; begin bmp := TBitmap.Create; try png := TPngImage.Create; try png.LoadFromFile('c:\Program Files (x86)\Embarcadero\Studio\21.0\bin\Artwork\Windows\UWP\cppreg_UwpDefault_150.png'); bmp.SetSize(png.Width, png.Height); png.Draw(bmp.Canvas, TRect.Create(TPoint.Zero, png.Width, png.Height)); bmp.SaveToFile('c:\temp\test.bmp'); finally png.Free; end; finally bmp.Free; end; end; Depending on your Delphi version you might even succeed with a simple bmp.Assign(png); -
How to load a PNG file into TImage, then copy another PNG file into it
Uwe Raabe replied to alank2's topic in VCL
What about just Draw the Png to the Bitmap Canvas? -
OK, inline const and inline var are not fully covered by MMX in the moment. It is on the ToDo list, though.
-
Opinions about Pascal vs C/C++ IDE
Uwe Raabe replied to TimCruise's topic in Tips / Blogs / Tutorials / Videos
RAD Studio includes Delphi and C++ Builder, but you can purchase each separately.- 39 replies
-
- programming hardware
- rad studio
-
(and 1 more)
Tagged with:
-
IDE being destroyed by new versions
Uwe Raabe replied to Celso Henrique's topic in Delphi IDE and APIs
When you use it on an existing method to change its name. -
How do you acquire "Pictures" to be used in your project?
Uwe Raabe replied to TimCruise's topic in Tips / Blogs / Tutorials / Videos
Yes. -
Opinions about Pascal vs C/C++ IDE
Uwe Raabe replied to TimCruise's topic in Tips / Blogs / Tutorials / Videos
IIRC, there used to be a Delphi Driver Development Kit at least up to Delphi 2007, but I never had the need to make use of it.- 39 replies
-
- programming hardware
- rad studio
-
(and 1 more)
Tagged with:
-
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
Revenue is proportional to number of sales and price. -
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
Not sure where you get this from. The price for the first year and the price for the renewal are clearly shown side by side: https://www.embarcadero.com/app-development-tools-store/delphi They also offer subscription for multiple years if you ask for it. -
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
Not sure if I understand, but you can extend the life time by renewing your subscriptions for one or multiple years. Are you referring to the annual subscription cost being too expensive? -
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
I will never run out of activations, because I use a Named Network License provided by a local ELC server. This allows me to install Delphi on as much targets I want as long as I keep the same user name on all of them. -
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
That's why renewing the subscription is highly suggested. The commercial versions can be run indefinitely. As mentioned before, security patches are very rarely necessary in Delphi. There are plenty of people out there working with Delphi versions years old, if not decades. -
Generics: Delphi does not always seem to force the instantiated type
Uwe Raabe replied to yonojoy's topic in RTL and Delphi Object Pascal
Note, that the implementation of TIBase<I> can be in another unit, where neither IFooBroker is known, nor that TIFoo is a type instance for IFooBroker. Nevertheless that unit has to be compiled before the unit containing IFooBroker and TIFoo. The compiler should only allow anything of type I as a parameter for inherited Create. That will rule out to grab any interfaces via Supports or AS constructs. Please file a bug report. -
Move current entity to another unit?
Uwe Raabe replied to PeterPanettone's topic in MMX Code Explorer
No, MMX is not open source and I don't have control over that fact. -
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
That is a decision made by Embarcadero based on the nature of the patch. -
Move current entity to another unit?
Uwe Raabe replied to PeterPanettone's topic in MMX Code Explorer
I cannot believe that this is real code. To me it just looks like made up. If for any reason there is a need for a global procedure ResetHoverColor acting on Form1, the straight forward implementation would rather be procedure ResetHoverColor; begin Form1.ResetHoverColor; end; -
It is probably in quarantine due to a COVID infection...
-
Move current entity to another unit?
Uwe Raabe replied to PeterPanettone's topic in MMX Code Explorer
Surely I want. I just don't want to implement things that may be valuable to a single person in a special situation. There are way more things to implement that most likely bring benefit to a lot of people in several situations. My time for MMX is limited and I have to take care for what I spend it. Note that I already took this under consideration: Regarding your requests: This would only work on Forms and Datamodules. Frames and all other classes don't have such a global variable. Given that many people suggest to get rid of these global variables, it would be counterproductive to encourage their usage. Besides that this point is somewhat moot given my response to 1. Moving fields from private to public is not something that I would do without asking for consent, which will add some more user interaction to the process. It is easier to select the relevant field(s) in the class and move them to public with the available tools (like selecting public in the visibility dropdown). This all does not even tackle the fact that the resulting code shown is anything but clean. -
Developing under Windows 11 in a VM not feasible ?
Uwe Raabe replied to A.M. Hoornweg's topic in General Help
Believe me, testing is not to blame here.- 26 replies
-
- virtualization
- vmware
-
(and 1 more)
Tagged with:
-
Move current entity to another unit?
Uwe Raabe replied to PeterPanettone's topic in MMX Code Explorer
No.