Due to the current situation, i.e. most retail shops are closed and many people have to work from home, web applications become more and more interesting to keep your business going.
Fortunately we can use the full power of the Delphi IDE to create new web applications. With the help of TMS Web Core we can run Pascal code inside the browser similar to Windows desktop applications. On the server side we can use well-known tools like RAD Server or TMS Business.
If you need any help or have questions contact Embarcadero, TMS or simply myself.
Happy New Year to everyone! 🙂
I wish a Merry Christmas to everyone. 🙂
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.
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.
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.
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:
TMyHookObject = class
procedure OnClose(ASender: TObject; var AAction: TCloseAction);
procedure TMyHookObject.Init(AForm: TForm);
//Save the old event
FOldOnClose := TMethod(AForm.OnClose);
//Set the new one
AForm.OnClose := OnClose;
procedure TMyHookObject.OnClose(ASender: TObject; var AAction: TCloseAction);
//Call the old event
if Assigned(FOldOnClose.Data) and Assigned(FOldOnClose.Code) then
//Run your own code
As you can see in the example you can easily store and call events with the help of TMethod.
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
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
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