Customizing the UI with CSS

From Lianjapedia
Jump to: navigation, search

Under Construction

The Lianja UI Framework is a feature rich application framework used to build custom UI elements for the Desktop, Web and Mobile devices. The classes, methods and properties in the framework are compatible with those in Visual FoxPro 9.0 but have been extensively extended to make it easier to build UIs for Apps that will run on the desktop, web and mobile devices. In particular, it has complete Layout Manager support, and provides the ability for each UI component to be skinned using CSS (the Stylesheet property).

You use LIanja/VFP (Visual FoxPro), JavaScript, TypeScript, Babel, Python or PHP with the Lianja UI Framework to build Custom Sections and Custom Gadgets. All Lianja UI Framework Classes provide integrated data binding to the underlying Lianja embedded database (the Controlsource property).

There are several ways in which you can skin UIcontrols using CSS.

Declaratively by setting Attributes

Attributes


Programmatically in a custom delegate

Bm-delegates.png

  • Setting the stylesheet property
  • Using the built-in attr() function

Understanding the CSS Style attribute

Understanding the CSS attr() function