Component Library for Cross Platform
From Wikipedia, the free encyclopedia
In computing, Component Library for Cross Platform (CLX), is a cross-platform visual component-based framework for developing Microsoft Windows and Linux applications. It is developed by Borland for use in its Kylix, Delphi, and C++ Builder software development environment.
Its aim was to replace existing and popular Microsoft Windows-only framework Visual Component Library (VCL). CLX was based on Qt by Trolltech. The API of CLX followed almost completely the VCL. It was envisioned that existing application using VCL will be simply recompiled with CLX.
However, due to lacklustre performance on Windows, subtle differences from VCL and bugs it didn't became the expected successor of VCL. Commercial failure of Kylix stopped further development of CLX.
In terms of object-oriented approach, the CLX forms an object hierarchy where the TObject class serves as the base class. All other classes inherit or indirectly inherit the TObject class. This is necessary as Delphi does not support multiple inheritance, unlike C++. This is a common approach shared by the Java programming language, Smalltalk, and many other object-oriented programming languages.