KCML_Form_CreateHTMLCtrlPage

Purpose

Create the standard page to be used by HTML controls in KClient

Definition

DEFSUB 'KCML_Form_CreateHTMLCtrlPage(page$, jQuery$, f1$, f2$, f3$, f4$) AS Void

Parameters

pageFile to be created - use COPY OBJECT to pass this to KClient
jQueryLocation of jQuery file
f1Location of .js file or directory containing .js files
f2Optional location of .js/.css file or directory containing .js and .css files
f3Optional location of .js/.css file or directory containing .js and .css files
f4Optional location of .js/.css file or directory containing .js and .css files

Description

The HTML Control in KClient can be used to display controls created in HTML and JavaScript and using CSS. Each control uses the same shared page containing the HTML and all the JavaScript and CSS for all the available controls. The Type$ property is then used to say which control is to be used. This page is created using this function, specifiying the page to create, the location of jQuery and what other files to be used. The filenames may be either single files or the names of directories, in which case all *.js and *.css files are used.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.