TMS WEB Core









JavaScript

2014-2015 Depto. Ciencia de la Computación e IA. JavaScript. Sesión 8 - jQuery UI. Experto en desarrollo de aplicaciones web con Java EE y JavaScript 
js


Easyui CHM

<div class="easyui-dialog" style="width:400px;height:200px" using('http://code.jquery.com/jquery-1.4.4.min.js' function(){.
documentation


USER GUIDE 6.2

<p:dialog widgetVar="status" modal="true" closable="false">. Please Wait. </p:dialog>. Client Side API. Widget: PrimeFaces.widget.AjaxStatus.
primefaces user guide


jQuery & jQuery UI Documentation

Sortable. Selectable. Resizable. Widgets. Accordion. Datepicker. Dialog. Progressbar Theming API - Documentation for the jQuery UI CSS Framework.
documentation





Bed Management Solution (BMS)

2 jan. 2020 Kiosk mode locks down the user interface to protect applications from accidental or ... jquery.ui.dialog.css ... jquery.autosize.js.
bms tm


TMS WEB Core

12 okt. 2019 jQuery UI controls . ... Properties for TWebOpenDialog . ... Set to 0 to let the popup autosize based on the number of displayed items.
TMSWEBCoreDevGuide


Dr.Explain 4.10 : User Guide

applications that are made in any programming language IDE
dr explain user guide


Bed Management Solution (BMS) Technical Manual

9 mars 2022 user interface to protect applications from accidental or deliberate misuse. ... jquery.ui.structure-1.11.4.min.css ... jquery.autosize.js.
bms tm





JavaScript

especial por jQuery) y puede hacer el código menos legible. El tipo de datos asociado a la variable Más información en http://api.jqueryui.com/dialog.
js


SIMATIC WinCC Unified Tips and Tricks for Scripting (JavaScript)

The snippet "Open faceplate in popup" will help you open the faceplates. let data = {TagProperty_1:{Tag:"Tag_1"} ColorProperty:0xff00ff00}; let po = UI.
Unified TipsScripting V en


217610 TMS WEB Core 1

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

TMS WEB Core

v2.2.3.1 LAquila

DEVELOPERS GUIDE

August 2023

Copyright © 2018 2023 by tmssoftware.com bv

Web: http://www.tmssoftware.com

Email: info@tmssoftware.com

2

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

Index

Introduction ...............................................................................................................................29

Scope and architecture .............................................................................................................29

Additional resources .................................................................................................................30

Online videos .........................................................................................................................30

Online training course ............................................................................................................30

Books ....................................................................................................................................31

Getting started ..........................................................................................................................33

Configuring TMS WEB Core settings ........................................................................................39

Configuring TMS WEB Core project settings .............................................................................41

Automatic versioning .................................................................................................................42

Installation for Lazarus ..............................................................................................................44

Your first TMS WEB Core application .......................................................................................47

Your first TMS WEB Core progressive web application .............................................................51

Your first TMS WEB Core Electron Application .........................................................................56

Your first TMS WEB Miletus Application....................................................................................58

Debugging ................................................................................................................................62

Pascal to JavaScript Compiler ..................................................................................................65

RTL ...........................................................................................................................................66

Preprocessor ............................................................................................................................67

Command-line compiler ............................................................................................................68

Utility functions ..........................................................................................................................71

Page Design .............................................................................................................................74

Absolute positioning ...........................................................................................................74

Relative positioning ............................................................................................................75

Theming .............................................................................................................................76

BiDiMode ...........................................................................................................................78

Use of HTML templates .....................................................................................................79

JavaScript and CSS ..................................................................................................................85

Using off the shelf HTML templates ...................................................................................88

Automatic synchronisation with HTML templates .................................................................... 104

Live preview ............................................................................................................................ 106

Working with databases .......................................................................................................... 109

Solutions with REST APIs for classic databases ................................................................. 110

Solutions with REST APIs for cloud database solutions ...................................................... 111

Existing REST APIs ............................................................................................................. 112

Application .............................................................................................................................. 113

Forms ..................................................................................................................................... 119

Creating forms at runtime .................................................................................................... 123

Hosting forms in other controls ............................................................................................ 126

3

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

Properties ........................................................................................................................ 127

Methods ........................................................................................................................... 128

Events .............................................................................................................................. 129

Automatic form routing ........................................................................................................ 130

Form inheritance ................................................................................................................. 131

Frames ................................................................................................................................ 133

UI control types ..................................................................................................................... 133

UI controls encapsulating HTML elements .......................................................................... 135

Custom drawn controls using the HTML5 CANVAS element ............................................... 135

TMS FNC controls ............................................................................................................... 136

jQuery UI controls ................................................................................................................ 136

Standard Components ............................................................................................................ 138

Common properties of visual controls .................................................................................. 138

Common events of visual controls ....................................................................................... 140

TWebLabel .......................................................................................................................... 141

Description ....................................................................................................................... 141

HTML template tag .......................................................................................................... 141

Properties for TWebLabel ................................................................................................ 142

Events for TWebLabel...................................................................................................... 143

TWebButton ........................................................................................................................ 143

Description ....................................................................................................................... 143

HTML template tag .......................................................................................................... 143

Properties for TWebButton ............................................................................................... 144

Events for TWebButton .................................................................................................... 144

TWebEdit ............................................................................................................................ 145

Description ....................................................................................................................... 145

HTML template tag .......................................................................................................... 145

Properties for TWebEdit ................................................................................................... 145

Methods for TWebEdit ..................................................................................................... 147

Events for TWebEdit ........................................................................................................ 147

TWebEditAutocomplete ....................................................................................................... 148

Description ....................................................................................................................... 148

HTML template tag .......................................................................................................... 148

Properties for TWebEditAutocomplete ............................................................................. 148

Events for TWebEditAutocomplete................................................................................... 150

TWebEditBtn ....................................................................................................................... 150

Description ....................................................................................................................... 150

HTML template tag .......................................................................................................... 150

Properties for TWebEditBtn ............................................................................................. 151

Methods for TWebEditBtn ................................................................................................ 152

Events for TWebEditBtn ................................................................................................... 153

TWebSearchEdit ................................................................................................................. 153

4

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

Description ....................................................................................................................... 153

HTML template tag .......................................................................................................... 153

Properties for TWebSearchEdit ........................................................................................ 154

Methods for TWebSearchEdit .......................................................................................... 155

Events for TWebSearchEdit ............................................................................................. 155

TWebSpinEdit ..................................................................................................................... 156

Description ....................................................................................................................... 156

HTML template tag .......................................................................................................... 156

Properties for TWebSpinEdit ............................................................................................ 157

Events for TWebSpinEdit ................................................................................................. 157

TWebMaskEdit .................................................................................................................... 158

Description ....................................................................................................................... 158

Properties for TWebMaskEdit .......................................................................................... 158

Events for TWebMaskEdit ................................................................................................ 159

TWebDateTimePicker ......................................................................................................... 159

Description ....................................................................................................................... 159

HTML template tag .......................................................................................................... 160

Properties for TWebDateTimePicker ................................................................................ 160

Events for TWebDateTimePicker ..................................................................................... 161

TWebListBox ....................................................................................................................... 161

Description ....................................................................................................................... 161

HTML template tag .......................................................................................................... 162

Properties for TWebListBox ............................................................................................. 162

Events for TWebListBox ................................................................................................... 163

TWebCheckListBox ............................................................................................................. 163

Description ....................................................................................................................... 163

HTML template tag .......................................................................................................... 163

Properties for TWebCheckListBox ................................................................................... 164

Events for TWebCheckListBox ......................................................................................... 164

TWebComboBox ................................................................................................................. 165

Description ....................................................................................................................... 165

HTML template tag .......................................................................................................... 165

Properties for TWebComboBox ....................................................................................... 166

Events for TWebComboBox ............................................................................................. 166

TWebLookupComboBox ..................................................................................................... 167

Description ....................................................................................................................... 167

HTML template tag .......................................................................................................... 167

Properties for TWebLookupComboBox ............................................................................ 167

Events for TWebLookupComboBox ................................................................................. 168

TWebCountryComboBox ..................................................................................................... 169

Description ....................................................................................................................... 169

HTML template tag .......................................................................................................... 169

5

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

Properties for TWebCountryComboBox ........................................................................... 170

Events for TWebCountryComboBox ................................................................................ 170

TWebCountryListBox ........................................................................................................... 171

Description ....................................................................................................................... 171

HTML template tag .......................................................................................................... 171

Properties for TWebCountryListBox ................................................................................. 172

Events for TWebCountryListBox ...................................................................................... 172

TWebCountryDropDown ..................................................................................................... 173

Description ....................................................................................................................... 173

HTML template tag .......................................................................................................... 174

Properties for TWebCountryDropDown ............................................................................ 174

1

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

TMS WEB Core

v2.2.3.1 LAquila

DEVELOPERS GUIDE

August 2023

Copyright © 2018 2023 by tmssoftware.com bv

Web: http://www.tmssoftware.com

Email: info@tmssoftware.com

2

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

Index

Introduction ...............................................................................................................................29

Scope and architecture .............................................................................................................29

Additional resources .................................................................................................................30

Online videos .........................................................................................................................30

Online training course ............................................................................................................30

Books ....................................................................................................................................31

Getting started ..........................................................................................................................33

Configuring TMS WEB Core settings ........................................................................................39

Configuring TMS WEB Core project settings .............................................................................41

Automatic versioning .................................................................................................................42

Installation for Lazarus ..............................................................................................................44

Your first TMS WEB Core application .......................................................................................47

Your first TMS WEB Core progressive web application .............................................................51

Your first TMS WEB Core Electron Application .........................................................................56

Your first TMS WEB Miletus Application....................................................................................58

Debugging ................................................................................................................................62

Pascal to JavaScript Compiler ..................................................................................................65

RTL ...........................................................................................................................................66

Preprocessor ............................................................................................................................67

Command-line compiler ............................................................................................................68

Utility functions ..........................................................................................................................71

Page Design .............................................................................................................................74

Absolute positioning ...........................................................................................................74

Relative positioning ............................................................................................................75

Theming .............................................................................................................................76

BiDiMode ...........................................................................................................................78

Use of HTML templates .....................................................................................................79

JavaScript and CSS ..................................................................................................................85

Using off the shelf HTML templates ...................................................................................88

Automatic synchronisation with HTML templates .................................................................... 104

Live preview ............................................................................................................................ 106

Working with databases .......................................................................................................... 109

Solutions with REST APIs for classic databases ................................................................. 110

Solutions with REST APIs for cloud database solutions ...................................................... 111

Existing REST APIs ............................................................................................................. 112

Application .............................................................................................................................. 113

Forms ..................................................................................................................................... 119

Creating forms at runtime .................................................................................................... 123

Hosting forms in other controls ............................................................................................ 126

3

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

Properties ........................................................................................................................ 127

Methods ........................................................................................................................... 128

Events .............................................................................................................................. 129

Automatic form routing ........................................................................................................ 130

Form inheritance ................................................................................................................. 131

Frames ................................................................................................................................ 133

UI control types ..................................................................................................................... 133

UI controls encapsulating HTML elements .......................................................................... 135

Custom drawn controls using the HTML5 CANVAS element ............................................... 135

TMS FNC controls ............................................................................................................... 136

jQuery UI controls ................................................................................................................ 136

Standard Components ............................................................................................................ 138

Common properties of visual controls .................................................................................. 138

Common events of visual controls ....................................................................................... 140

TWebLabel .......................................................................................................................... 141

Description ....................................................................................................................... 141

HTML template tag .......................................................................................................... 141

Properties for TWebLabel ................................................................................................ 142

Events for TWebLabel...................................................................................................... 143

TWebButton ........................................................................................................................ 143

Description ....................................................................................................................... 143

HTML template tag .......................................................................................................... 143

Properties for TWebButton ............................................................................................... 144

Events for TWebButton .................................................................................................... 144

TWebEdit ............................................................................................................................ 145

Description ....................................................................................................................... 145

HTML template tag .......................................................................................................... 145

Properties for TWebEdit ................................................................................................... 145

Methods for TWebEdit ..................................................................................................... 147

Events for TWebEdit ........................................................................................................ 147

TWebEditAutocomplete ....................................................................................................... 148

Description ....................................................................................................................... 148

HTML template tag .......................................................................................................... 148

Properties for TWebEditAutocomplete ............................................................................. 148

Events for TWebEditAutocomplete................................................................................... 150

TWebEditBtn ....................................................................................................................... 150

Description ....................................................................................................................... 150

HTML template tag .......................................................................................................... 150

Properties for TWebEditBtn ............................................................................................. 151

Methods for TWebEditBtn ................................................................................................ 152

Events for TWebEditBtn ................................................................................................... 153

TWebSearchEdit ................................................................................................................. 153

4

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

Description ....................................................................................................................... 153

HTML template tag .......................................................................................................... 153

Properties for TWebSearchEdit ........................................................................................ 154

Methods for TWebSearchEdit .......................................................................................... 155

Events for TWebSearchEdit ............................................................................................. 155

TWebSpinEdit ..................................................................................................................... 156

Description ....................................................................................................................... 156

HTML template tag .......................................................................................................... 156

Properties for TWebSpinEdit ............................................................................................ 157

Events for TWebSpinEdit ................................................................................................. 157

TWebMaskEdit .................................................................................................................... 158

Description ....................................................................................................................... 158

Properties for TWebMaskEdit .......................................................................................... 158

Events for TWebMaskEdit ................................................................................................ 159

TWebDateTimePicker ......................................................................................................... 159

Description ....................................................................................................................... 159

HTML template tag .......................................................................................................... 160

Properties for TWebDateTimePicker ................................................................................ 160

Events for TWebDateTimePicker ..................................................................................... 161

TWebListBox ....................................................................................................................... 161

Description ....................................................................................................................... 161

HTML template tag .......................................................................................................... 162

Properties for TWebListBox ............................................................................................. 162

Events for TWebListBox ................................................................................................... 163

TWebCheckListBox ............................................................................................................. 163

Description ....................................................................................................................... 163

HTML template tag .......................................................................................................... 163

Properties for TWebCheckListBox ................................................................................... 164

Events for TWebCheckListBox ......................................................................................... 164

TWebComboBox ................................................................................................................. 165

Description ....................................................................................................................... 165

HTML template tag .......................................................................................................... 165

Properties for TWebComboBox ....................................................................................... 166

Events for TWebComboBox ............................................................................................. 166

TWebLookupComboBox ..................................................................................................... 167

Description ....................................................................................................................... 167

HTML template tag .......................................................................................................... 167

Properties for TWebLookupComboBox ............................................................................ 167

Events for TWebLookupComboBox ................................................................................. 168

TWebCountryComboBox ..................................................................................................... 169

Description ....................................................................................................................... 169

HTML template tag .......................................................................................................... 169

5

TMS SOFTWARE

TMS WEB Core

DEVELOPERS GUIDE

Properties for TWebCountryComboBox ........................................................................... 170

Events for TWebCountryComboBox ................................................................................ 170

TWebCountryListBox ........................................................................................................... 171

Description ....................................................................................................................... 171

HTML template tag .......................................................................................................... 171

Properties for TWebCountryListBox ................................................................................. 172

Events for TWebCountryListBox ...................................................................................... 172

TWebCountryDropDown ..................................................................................................... 173

Description ....................................................................................................................... 173

HTML template tag .......................................................................................................... 174

Properties for TWebCountryDropDown ............................................................................ 174