Category Archives: Uncategorized

Encoding of .pas files part 2

In my last post I explained that it is a good strategy to encode .pas files in UTF8. From RAD Studio 10.4 you can set under “Tools/Options/User Interface/Editor” the “Default file encoding” to UTF8. In older versions of RAD Studio … Continue reading

Posted in RAD Studio 10 Seattle, RAD Studio 10.1 Berlin, RAD Studio 10.2 Tokyo, RAD Studio 10.3 Rio, RAD Studio 10.4 Sydney, RAD Studio XE5, RAD Studio XE6, RAD Studio XE7, RAD Studio XE8, Tips and Tricks, Uncategorized | Comments Off on Encoding of .pas files part 2

Encoding of .pas files

This week I would like to talk about the encoding of .pas files. Normally they are ANSI encoded which is no problem since all Delphi statements are ASCII encoded. But the exception are comments. Many developers overlook this issue, but … Continue reading

Posted in C++-Builder, Delphi, RAD Studio 10 Seattle, RAD Studio 10.1 Berlin, RAD Studio 10.2 Tokyo, RAD Studio 10.3 Rio, RAD Studio 10.4 Sydney, RAD Studio XE5, RAD Studio XE6, RAD Studio XE7, RAD Studio XE8, Tips and Tricks, Uncategorized | Comments Off on Encoding of .pas files

Async and Await in TMS Web Core

Today we published a blog article on the TMS Software web site. In this article Leon explains how to write complex asynchronous Web applications with TMS Web Core and Pascal. The trick is that asynchronous calls can be written in … Continue reading

Posted in Delphi, HTML, RAD Studio 10 Seattle, RAD Studio 10.1 Berlin, RAD Studio 10.2 Tokyo, RAD Studio 10.3 Rio, RAD Studio 10.4 Sydney, RAD Studio XE7, RAD Studio XE8, Tips and Tricks, TMS Software, TMS Web Core, Uncategorized, Visual Studio Code | Comments Off on Async and Await in TMS Web Core

Happy New Year

Happy New Year to everyone! 🙂

Posted in Uncategorized | Comments Off on Happy New Year

Merry Christmas

I wish a Merry Christmas to everyone. 🙂

Posted in Uncategorized | Comments Off on Merry Christmas

Did you know…?

Did you know that the RAD Studio Welcome Page shows if you have installed all necessary updates? I just learned that a necessary patch for macOS Big Sur was missing in my installation. Here you can see the current status … Continue reading

Posted in C++-Builder, Delphi, RAD Studio 10.4 Sydney, Tips and Tricks, Uncategorized | Comments Off on Did you know…?

TMS Web Core and FinalBuilder

TMS Web Core offers a command line compiler that can be used in Continuous Integration systems like the FinalBuilder. There you can simply add the so called “Execute Program” action to your project and select the TMSWebCompiler.exe as the program … Continue reading

Posted in Delphi, Third Party Components, Tips and Tricks, TMS Software, TMS Web Core, Uncategorized | Comments Off on TMS Web Core and FinalBuilder

ModelMaker Code Explorer

Today I would like to recommend the ModelMaker Code Explorer (MMX) as a must-have IDE plugin. It allows to refactor, sort and organize the code. It also shows bad coding style like long methods, magic numbers and hard-coded strings. Originally … Continue reading

Posted in Delphi, Third Party Components, Tips and Tricks, Uncategorized | Comments Off on ModelMaker Code Explorer

Did you know…?

Did you know that you can get and set events with the TMethod record? Let’s assume you would like to hook an OnClose event of a form:

As you can see in the example you can easily store and … Continue reading

Posted in Uncategorized | Comments Off on Did you know…?

Did you know…?

Did you know that inside Delphi designtime packages you can use all global Vcl variables like Application and Screen? Particularly the Screen variable is very interesting since it fires events like OnActiveFormChange and also offers the useful Forms collection.  The … Continue reading

Posted in Delphi, RAD Studio 10 Seattle, RAD Studio 10.1 Berlin, RAD Studio 10.2 Tokyo, RAD Studio 10.3 Rio, RAD Studio 10.4 Sydney, RAD Studio XE5, RAD Studio XE6, RAD Studio XE7, RAD Studio XE8, Tips and Tricks, Uncategorized | Comments Off on Did you know…?