Should the TDataSource go on a Form or in a DataModule? In this video, Alister attempts to answer this troubling question.
Get the new book: https://learndelphi.tv/codebetter
Should the TDataSource go on a Form or in a DataModule? In this video, Alister attempts to answer this troubling question.
Get the new book: https://learndelphi.tv/codebetter
In this video, we will look at a technique for dependency inversion using anonymous methods. It's a bit of a hack but easy to retrofit to existing applications. We will also do some more traditional dependency injection via property injection.
A useful trick is to inspect a string in the debugger and then paste it directly back into your code. This can come in handy - want to learn more? Then watch here.
Class constructors can be a powerful tool, but they may not always behave as you expect - as I found out in this video.
It's a very easy mistake to forget to escape the ampersand character on labels and menus. Here is how to fix it.
A small enhancement is the improved icons in the Delphi code editor that look much nice when running with High DPI. Although this video was only recorded at 100%.
A feature I've always liked from cnPack is now available in Delphi 11.3. That's highlighting the same word under the cursor in the Editor. Watch it on YouTube.
A new feature in Delphi 11.3 is the ability to show your executable in Windows Explorer by right-clicking on a build configuration. See how it works here.
It can occasionally be the case that the Toolbars in the Delphi IDE become broken. You can fix them using the registry editor. And you can also customise them for better productivity. Find out all about it here.
Rather than change the build configuration for each project in a project group, why not change them all at once? Watch here.