One of the most powerful features of the Quartex Pascal RTL is its extensible component model. You are not limited to the controls we provide; you can easily create your own.


All visual controls inherit from the TQTXWidget class. This class provides the fundamental bridge between your Pascal object and a live element in the browser's DOM. When you create a new control, you are essentially creating a specialized version of TQTXWidget.


The process involves a few key steps: inheriting, overriding the element type, defining the constructor, adding properties, and optionally, telling the IDE about your new control.