Blog Archives


5-Minute-Snack: Display another form as a pop-up in TMS Web Core

Creating a second form is easy and has been shown in the last post. However, sometimes we might not want to take the other form to take up the whole screen but make it a pop-up window instead.

As it’s an amazing framework from TMS Software (disclaimer: this statement might be biased),

Read more ›

Tags: , , ,

5-Minute-Snack: Handling multiple forms with TApplication in TMS Web Core Apps

The class TApplication has been part of Delphi since its inception. TMS Web Core tries to make as little changes to your development as possible. Thus, it provides its own method helper class to TApplication to provide additional functionality that will help you to control and react to events in your web application.

Read more ›

Tags: , , ,

5-Minute-Snack: Base64 encode and decode images in Delphi

Quite some time ago, I blogged about how to encode and decode data as Base64. The post is still accessed on a regular basis. However, I have received a question multiple times and want to provide the solution: How can images be encoded and decoded?

The key lies in the polymorphism of TPicture that allows you to implement a solution that is not even depending on one file format.

Read more ›

Tags: , , , , , , , , , , , ,

5-Minute-Snack: Determine the operating system your app is running on

Sometimes, we cannot just rely on the framework, we need to make direct calls to the operating system. Too bad, there is not a single call for every operating system. Without knowing which environment is running in, it is hard to make the right decision. Back in the day, we needed to juggle around pCHARs,

Read more ›

Tags: , , , , , ,