Difference between revisions of "Category:Framework Classes"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Classes) |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | Lianja | + | Lianja includes an extensive array of built-in classes that are cross platform and cross device. |
− | + | If you are a VFP developer you will recognize some of these as Lianja has a powerful UI framework which is a superset of the VFP 9 base classes. | |
+ | <div style="height:58px;margin-top:15px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;"> | ||
+ | [[File:bm-noteicon.png|top|40px|link=]]<div style="position:absolute;top:7px;bottom:5px;margin-left:50px;"> | ||
+ | The Lianja UI Framework is client agnostic. Desktop, Web and Mobile. | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | If you are familiar with the VFP UI classes and you want to develop in JavaScript, TypeScript, Python or PHP you will feel right at home with a minimum learning curve compared to other App platforms. | ||
+ | |||
+ | <div style="height:100px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;"> | ||
+ | [[File:bm-noteicon.png|top|40px|link=]]<div style="position:absolute;top:3px;margin-bottom;bottom:5px;margin-left:50px;"><b> Pro Tip</b> | ||
+ | We recommend you use [[Understanding_UI_Layouts|Lianja UI Layouts]] to help you build a responsive UI. These can be used in any of the supported scripting languages. | ||
+ | </div> | ||
+ | <span style="height:6px;"> </span> | ||
+ | </div> | ||
+ | |||
+ | The following Base classes are built into Lianja. These are not specific to the Lianja/VFP scripting language but rather they can be used by all of the supported scripting languages. For case sensitive scripting languages use lowercase names for properties, methods and events. | ||
+ | |||
+ | == LianjaScript usage == | ||
+ | |||
+ | <code lang="recital"> | ||
+ | oCont = createObject("container") | ||
+ | oCont.layout = "Vertical" | ||
+ | oCont.addObject("oLabel", "label") | ||
+ | oLabel.caption = "Hello World!" | ||
+ | </code> | ||
+ | |||
+ | == JavaScript/TypeScript usage == | ||
+ | |||
+ | <code lang="javascript"> | ||
+ | oCont = createObject("container"); | ||
+ | oCont.layout = "Vertical"; | ||
+ | oCont.addObject("oLabel", "label"); | ||
+ | oLabel.caption = "Hello World!"; | ||
+ | </code> | ||
+ | |||
+ | == Python usage == | ||
+ | |||
+ | <code lang="python"> | ||
+ | oCont = Lianja.createObject("container") | ||
+ | oCont.layout = "Vertical" | ||
+ | oCont.addObject("oLabel", "label") | ||
+ | oLabel.caption = "Hello World!" | ||
+ | </code> | ||
+ | |||
+ | == PHP usage == | ||
+ | |||
+ | <code lang="php"> | ||
+ | oCont = Lianja::createObject("container"); | ||
+ | oCont->layout = "Vertical"; | ||
+ | oCont->addObject("oLabel", "label"); | ||
+ | oLabel->caption = "Hello World!"; | ||
+ | </code> | ||
+ | |||
+ | ==Classes== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width="20%"|Class | !width="20%"|Class | ||
Line 15: | Line 69: | ||
|valign="top"|Control | |valign="top"|Control | ||
|valign="top"|Control for embedded ActiveX component (Windows desktop) | |valign="top"|Control for embedded ActiveX component (Windows desktop) | ||
+ | |- | ||
+ | |valign="top"|[[Camera]] | ||
+ | |valign="top"|Control | ||
+ | |valign="top"|Control to use the webcam on your machine to capture and store images | ||
+ | |- | ||
+ | |valign="top"|[[Chart]] | ||
+ | |valign="top"|Control | ||
+ | |valign="top"|Chart control with support for Google Charts | ||
|- | |- | ||
|valign="top"|[[Checkbox]] | |valign="top"|[[Checkbox]] | ||
Line 70: | Line 132: | ||
|valign="top"|[[Editbox]] | |valign="top"|[[Editbox]] | ||
|valign="top"|Control | |valign="top"|Control | ||
− | |valign="top"| | + | |valign="top"|Editor control |
|- | |- | ||
|valign="top"|[[Editor]] | |valign="top"|[[Editor]] | ||
Line 82: | Line 144: | ||
|valign="top"|[[Field]] | |valign="top"|[[Field]] | ||
|valign="top"|Non-UI | |valign="top"|Non-UI | ||
− | |valign="top"|Reference class for field in a | + | |valign="top"|Reference class for field in a [[Recordset]] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
|valign="top"|[[Form]] | |valign="top"|[[Form]] | ||
Line 170: | Line 228: | ||
|valign="top"|[[Page]] | |valign="top"|[[Page]] | ||
|valign="top"|Container | |valign="top"|Container | ||
− | |valign="top"| | + | |valign="top"|Tab page container |
|- | |- | ||
|valign="top"|[[PageBuilder]] | |valign="top"|[[PageBuilder]] | ||
Line 191: | Line 249: | ||
|valign="top"|Non-UI | |valign="top"|Non-UI | ||
|valign="top"|Connection to a set of data records/rows | |valign="top"|Connection to a set of data records/rows | ||
+ | |- | ||
+ | |valign="top"|[[Richeditbox]] | ||
+ | |valign="top"|Control | ||
+ | |valign="top"|Rich text editor control | ||
+ | |- | ||
+ | |valign="top"|[[ScrollPanel]] | ||
+ | |valign="top"|ScrollPanel | ||
+ | |valign="top"|Reference class for a scrollable container | ||
|- | |- | ||
|valign="top"|[[Section]] | |valign="top"|[[Section]] | ||
|valign="top"|Container | |valign="top"|Container | ||
− | |valign="top"|Container in a Page | + | |valign="top"|Container in a [[PageBuilder]] Page |
|- | |- | ||
|valign="top"|[[Separator]] | |valign="top"|[[Separator]] | ||
Line 207: | Line 273: | ||
|valign="top"|Non-UI | |valign="top"|Non-UI | ||
|valign="top"|Connection to a shared memory segment | |valign="top"|Connection to a shared memory segment | ||
+ | |- | ||
+ | |valign="top"|[[Slider]] | ||
+ | |valign="top"|Control | ||
+ | |valign="top"|Vertical or horizontal numeric slider with minimum and maximum values | ||
|- | |- | ||
|valign="top"|[[Spinner]] | |valign="top"|[[Spinner]] | ||
Line 246: | Line 316: | ||
|valign="top"|[[Videoplayer]] | |valign="top"|[[Videoplayer]] | ||
|valign="top"|Control | |valign="top"|Control | ||
− | |valign="top"|Video Player Control ( | + | |valign="top"|Video Player Control (desktop Apps only) |
|- | |- | ||
|valign="top"|[[Webview]] | |valign="top"|[[Webview]] |
Revision as of 07:20, 13 January 2022
Lianja includes an extensive array of built-in classes that are cross platform and cross device.
If you are a VFP developer you will recognize some of these as Lianja has a powerful UI framework which is a superset of the VFP 9 base classes.
The Lianja UI Framework is client agnostic. Desktop, Web and Mobile.
If you are familiar with the VFP UI classes and you want to develop in JavaScript, TypeScript, Python or PHP you will feel right at home with a minimum learning curve compared to other App platforms.
We recommend you use Lianja UI Layouts to help you build a responsive UI. These can be used in any of the supported scripting languages.
The following Base classes are built into Lianja. These are not specific to the Lianja/VFP scripting language but rather they can be used by all of the supported scripting languages. For case sensitive scripting languages use lowercase names for properties, methods and events.
LianjaScript usage
oCont = createObject("container") oCont.layout = "Vertical" oCont.addObject("oLabel", "label") oLabel.caption = "Hello World!"
JavaScript/TypeScript usage
oCont = createObject("container"); oCont.layout = "Vertical"; oCont.addObject("oLabel", "label"); oLabel.caption = "Hello World!";
Python usage
oCont = Lianja.createObject("container") oCont.layout = "Vertical" oCont.addObject("oLabel", "label") oLabel.caption = "Hello World!"
PHP usage
oCont = Lianja::createObject("container"); oCont->layout = "Vertical"; oCont->addObject("oLabel", "label"); oLabel->caption = "Hello World!";
Classes
Class | Type | Description |
---|---|---|
Actionbar | Container | Toolbar container pre-loaded with action buttons |
ActiveX | Control | Control for embedded ActiveX component (Windows desktop) |
Camera | Control | Control to use the webcam on your machine to capture and store images |
Chart | Control | Chart control with support for Google Charts |
Checkbox | Control | Control for boolean state - True (checked) or False (unchecked) |
Collection | Non-UI | Non-UI container used to group objects |
Column | Control | Column in a Grid |
Combobox | Control | Control combining a TextBox and a ListBox |
Commandbutton | Control | Button control |
Commandgroup | Container | Container used to group buttons |
Container | Container | UI container used to contain other Containers and Controls |
Control | Container/Control | Reference class for container or control within a Container |
CursorAdapter | Non-UI | Connection to a data source |
Database | Non-UI | Connection to a database |
DataEnvironment | Non-UI | Container for the non-UI data objects |
Datetextbox | Control | Control combining a date TextBox and a popup calendar |
Datetimetextbox | Control | Control combining a date/time TextBox and a popup calendar |
Editbox | Control | Editor control |
Editor | Control | Reference class for the Lianja system object's current Editor |
Empty | Non-UI | Empty class |
Field | Non-UI | Reference class for field in a Recordset |
Form | Container | Form container |
FormItem | Control | Reference class for the Lianja system object getElementByID() method |
Gadget | Container | Gadget container |
Grid | Container | Column based container |
Header | Control | Column header in a Grid |
HTTPServer | Non-UI | Embedded custom web server that listens for requests on a port of your choice to expose information by web services. Desktop App only. |
Hyperlink | Control | Hyperlink label control |
Image | Control | Control for displaying images |
Imagestrip | Container | Container for displaying multiple images with navigational controls |
Label | Control | Textual label control |
Lcdnumber | Control | Numeric label control with LCD-like digits |
Lianja | Non-UI | System object |
Line | Control | Line control |
Listbox | Control | Control with a single column list |
Menu | Container | Container for MenuItem controls |
MenuBar | Container | Container for Menu containers |
MenuItem | Control | Control in a Menu |
NetworkRequest | Non-UI | Control supporting http/https/ftp read/write of data |
Optionbutton | Control | Control to select/deselect an option |
Optiongroup | Container | Container used to group OptionButtons |
Page | Container | Tab page container |
PageBuilder | Container | Reference class for the Page Builder |
Pageframe | Container | TabView style container |
Popupmenu | Container | Container for MenuItem controls |
Progressbar | Control | Bar control for minimum, current (%) and maximum numeric values |
Recordset | Non-UI | Connection to a set of data records/rows |
Richeditbox | Control | Rich text editor control |
ScrollPanel | ScrollPanel | Reference class for a scrollable container |
Section | Container | Container in a PageBuilder Page |
Separator | Control | Separator label control |
Shape | Control | Shape label control |
SharedMemory | Non-UI | Connection to a shared memory segment |
Slider | Control | Vertical or horizontal numeric slider with minimum and maximum values |
Spinner | Control | Numeric TextBox control with increment/decrement controls |
Splitter | Container | Container for sub-dividing a parent container |
SystemSemaphore | Non-UI | Connection to a semaphore |
SystemTrayIcon | Container | Container providing an icon for an application in the system tray |
Textbox | Control | Textbox control |
Timer | Non-UI | Control to trigger a timeout after a specified interval |
Toolbar | Container | Container for controls and action buttons |
Tree | Container | Container grid for TreeItems |
Treeitem | Control | Multi-column control in a Tree container |
Videoplayer | Control | Video Player Control (desktop Apps only) |
Webview | Control | Embedded WebKit Control |
Subcategories
This category has the following 3 subcategories, out of 3 total.
Pages in category "Framework Classes"
The following 72 pages are in this category, out of 72 total.
AC
DEF |
F cont.GHILMNOP |
P cont.RS
TVW |