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 of my Welcome Page.

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 file. The parameters are very easy to define. You have to select the .dproj file, the configuration and force the compiler to parse the .dproj file. Here is a valid example:

-ParseDprojFile -ProjectFile:”C:\Project\myProject.dproj” -Config:Release

For further details you will find an article on the TMS Web Site in the near future.
Please stay tuned.

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 the MMX was a commercial product made by a Dutch company but it is now for free and it is maintained by a well-known Delphi MVP.

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:

type
  TMyHookObject = class
  strict private
    FOldOnClose: TMethod;
    procedure OnClose(ASender: TObject; var AAction: TCloseAction);
...

procedure TMyHookObject.Init(AForm: TForm);
begin
  //Save the old event
  FOldOnClose := TMethod(AForm.OnClose);
  //Set the new one
  AForm.OnClose := OnClose;
end;

procedure TMyHookObject.OnClose(ASender: TObject; var AAction: TCloseAction);
begin
  //Call the old event
  if Assigned(FOldOnClose.Data) and Assigned(FOldOnClose.Code) then
    TCloseEvent(FOldOnClose)(ASender, AAction);
  
  //Run your own code
  ...

As you can see in the example you can easily store and call events with the help of TMethod.

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 Forms collection allows to iterate through all IDE forms and the OnActiveFormChange event allows to react when a new form becomes active.

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…?

Did you know…?

Did you know that TMS Web Core projects allow to add further file types to a project? One example are .svg files, that are often used in web applications. That’s why the IDE plugin of TMS Web Core allows to add these file types.

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 XE7, RAD Studio XE8, Tips and Tricks, TMS Software, TMS Web Core, Uncategorized | Comments Off on Did you know…?

20 Year Anniversary

Today is a wonderful day. It is the 20th anniversary of TMS Software. I’m sure that most of you know the TMS products like VCL UI Pack, FNC, Flexcel, BIZ and last but not least Web Core. Exactly 20 years ago, the CEO Bruno Fierens founded TMS and started the success story.

I’m very happy to be part of this great team. I have the opportunity to work with all these masterminds like Tünde, Bruno, Bart, Pieter, Gjalt, Holger, Wagner, Adrian, Jose, Marion, Bernard, Detlef, Mattias, Masiha, Michael and the other Roman. And I was allowed to improve products like Delphi, VSC, Web Core, FNC and BIZ.

My special thanks to Bruno to make all this happen and for the hours of discussing all technical stuff but also our passionate hobbies.

Posted in C++-Builder, Delphi, FireMonkey, 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 XE5, RAD Studio XE6, RAD Studio XE7, RAD Studio XE8, Third Party Components, Tips and Tricks, TMS Software, Uncategorized, Visual Studio Code | Comments Off on 20 Year Anniversary

Did you know…?

Did you know that TMS Web Core supports record helpers for intrinsic types? They are located in the unit WEBLib.Utils and are compatible to the Delphi record helpers but support further methods like e.g.

if lString.NotIsEmpty then
begin
  ...
end;

This is more comfortable and object-oriented than the classic way and it also doesn’t need brackets like here:

if lVeryLongStatement and (not lString.IsEmpty) then
begin
  ...
end;
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 XE7, RAD Studio XE8, Third Party Components, Tips and Tricks, TMS Software, TMS Web Core | Comments Off on Did you know…?

Did you know…?

Did you know that the TMS License Generator for TMS Web Core uses TMS FNC components? Not only under Windows

but also under MacOS

And it also adapts to the OS’s theme (dark/light). Please have a look at the MacOS light version:

Terrific!

We are always up-to-date with all components so that we just added the new TTMSFNCProgressBar!

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, Tips and Tricks, TMS Software, TMS Web Core, Uncategorized, Visual Studio Code | Comments Off on Did you know…?