Difference between revisions of "Understanding Data Binding"

From Lianjapedia
Jump to: navigation, search
(Formitem Attributes)
(Lianja UI Framework)
Line 18: Line 18:
  
 
You use Lianja/VFP (Visual FoxPro compatible), 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).
 
You use Lianja/VFP (Visual FoxPro compatible), 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).
 +
 +
<code lang=“Javascript”>
 +
tb = createObject(“textbox”)
 +
// table.column
 +
tb.controlsource = “customer.lastname”
 +
// a function call
 +
tb.controlsource = “myfunc()”
 +
// a macro exoression enclosed in { }
 +
tb.controlsource = “{expression}”
 +
</code>

Revision as of 07:05, 28 November 2017