From handle to widget

In the Quartex Pascal RTL we support both traditional pascal events, like people are used to from Delphi or Freepascal, as well as delegate objects native to JavaScript. Most widgets exposes standard events like OnClick when it’s useful, and if you need more specific event handling you can attach a delegate for it.

Creating a scrolltext widget

In this article we will be creating a scrolltext widget from scratch, which is a good way to demonstrate how easy it is to write your own controls in QTX. It is a lot easier than under Delphi or Lazarus since the browser provides most of the functionality out of the box for you, and the QTX runtime library provides the rest.

Using Font-Awesome in Quartex Pascal

When creating websites or mobile applications there is always the issue of glyphs and button graphics. In the past couple of decades or so both Android and iOS have introduced standardized glyphs for buttons, lists and toolbars that are intuitive to understand and which has become somewhat universal. The same can be said for websites.Continue reading “Using Font-Awesome in Quartex Pascal”

Align: TAlign and PreAlignBounds

One of the coolest features that has been added to Quartex Pascal’s RTL in the past few months, is most likely support for Align: TAlign for TQTXWidget. This greatly simplifies form layout, and also doing layout when writing your own custom controls. Rules and differences HTML5 is not the same as WinAPI or GTK, andContinue reading “Align: TAlign and PreAlignBounds”