Blog Archives

Component Development: Using asynchronous, non-blocking web requests (I/II)

Just as a general note up front: This blog post will be split into two parts. The first part will focus on using asynchronous requests with the Embarcadero REST library and the second part will cover using asynchronous HTTP requests using the HTTP request class provided with Delphi.

Firstly,

Read more ›

Tags: , , , , , , , , ,

Component Development: Proof of concept; multi-platform demos

In my last blog post I showed the value of prudent class design with regard to platform development. Ina nutshell, our component has a base class that only contains basic functionality that is platform independent. The platform dependent parts are implemented in derived classes for the different platforms (and frameworks) –

Read more ›

Tags: , , , , , , , ,

Component Development: Building a multi-platform component for the Pexels API

A couple of days ago I announced the Pexels API component for Delphi. As Delphi Berlin makes it so easy to develop for multiple platforms, I wanted the component to be platform-independent – meaning: the component is supposed to work with all the different compilers that Delphi comes with.

Initially,

Read more ›

Tags: , , , , , ,

Component Development: Publishing events from ancestors

When developing a new component and deriving from TGraphicControl  the list of events in the Object Inspector looks rather empty.

noeventsnoevents

Does this mean we have to implement any user interaction like OnDblClick  or OnClick  ourselves?

If we look closer at the ancestor TControl we clearly find the definition of the events:

property OnCanResize: TCanResizeEvent
read FOnCanResize write FOnCanResize;

Read more ›

Tags: , , , , ,

Partnerships




Top