JegasAPI - Jegas, LLC - Copyright(c)2016

Unit uj_webwidgets

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Consolidation of Severside Internet controls

Overview

Functions and Procedures

Procedure WidgetInputBox( p_Context: TCONTEXT; p_saWidgetName: Ansistring; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saMaxLen: AnsiString; p_saSize: Ansistring; p_bPassword: boolean; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );
Procedure WidgetTextArea( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saCols: ansiString; p_saRows: AnsiString; p_bEditMode: Boolean; p_bRequired: boolean; p_bShowToolButtons: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );
Procedure WidgetBoolean( p_Context: TCONTEXT; p_saWidgetName: ansiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saSize: ansiString; p_bEditMode: Boolean; p_bFilter: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_bMultiple: boolean; p_bBlankSelected: boolean; p_bNULLSelected: boolean; p_bTrueSelected: boolean; p_bFalseSelected: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );
Procedure WidgetDateTime( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saWidgetDate: AnsiString; p_saWidgetTime: AnsiString; p_saWidgetMask: AnsiString; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );
Procedure WidgetList( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saSize: Ansistring; p_bMultiple: boolean; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_XDL: JFC_XDL; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );
Procedure WidgetDropDown( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saSize: Ansistring; p_bMultiple: boolean; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_XDL: JFC_XDL; p_bIfInReadOnly_UseDefaultValueOnly: boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );
Procedure WidgetComboBox( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saMaxLen: AnsiString; p_saSize: Ansistring; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_XDL: JFC_XDL; p_bIfInReadOnly_UseDefaultValueOnly: boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );
Procedure WidgetURL( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saWidgetWidth: ansistring; p_saDefaultValue: AnsiString; p_saMaxLen: AnsiString; p_saSize: AnsiString; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );
Procedure WidgetEMail( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saMaxLen: AnsiString; p_saSize: AnsiString; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );
Procedure WidgetHidden( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saDefaultValue: AnsiString );
Procedure WidgetPhone( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saSIPURL: AnsiString; p_saValue: ansistring; p_saMaxLen: AnsiString; p_saSize: AnsiString; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );

Description

Functions and Procedures

Procedure WidgetInputBox( p_Context: TCONTEXT; p_saWidgetName: Ansistring; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saMaxLen: AnsiString; p_saSize: Ansistring; p_bPassword: boolean; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

Procedure WidgetTextArea( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saCols: ansiString; p_saRows: AnsiString; p_bEditMode: Boolean; p_bRequired: boolean; p_bShowToolButtons: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. This Version places the Caption OVER the datafield.

Procedure WidgetBoolean( p_Context: TCONTEXT; p_saWidgetName: ansiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saSize: ansiString; p_bEditMode: Boolean; p_bFilter: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_bMultiple: boolean; p_bBlankSelected: boolean; p_bNULLSelected: boolean; p_bTrueSelected: boolean; p_bFalseSelected: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

Procedure WidgetDateTime( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saWidgetDate: AnsiString; p_saWidgetTime: AnsiString; p_saWidgetMask: AnsiString; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

Procedure WidgetList( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saSize: Ansistring; p_bMultiple: boolean; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_XDL: JFC_XDL; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. XDL Reference reference: name=caption, value=returned, i8User bit flags: (b0)1=selectable, (b1)2=selected, (b2)4=default

Procedure WidgetDropDown( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saSize: Ansistring; p_bMultiple: boolean; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_XDL: JFC_XDL; p_bIfInReadOnly_UseDefaultValueOnly: boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. XDL Reference reference: name=caption, value=returned, u8User bit flags: (b0)1=selectable, (b1)2=selected, (b2)4=default

Procedure WidgetComboBox( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saMaxLen: AnsiString; p_saSize: Ansistring; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_XDL: JFC_XDL; p_bIfInReadOnly_UseDefaultValueOnly: boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. XDL Reference reference: name=caption, value=returned, u8User bit flags: (b0)1=selectable, (b1)2=selected, (b2)4=default

Procedure WidgetURL( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saWidgetWidth: ansistring; p_saDefaultValue: AnsiString; p_saMaxLen: AnsiString; p_saSize: AnsiString; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

Procedure WidgetEMail( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saDefaultValue: AnsiString; p_saMaxLen: AnsiString; p_saSize: AnsiString; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

Procedure WidgetHidden( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saDefaultValue: AnsiString );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. Use to make hidden input elements.

Procedure WidgetPhone( p_Context: TCONTEXT; p_saWidgetName: AnsiString; p_saWidgetCaption: AnsiString; p_saSIPURL: AnsiString; p_saValue: ansistring; p_saMaxLen: AnsiString; p_saSize: AnsiString; p_bEditMode: Boolean; p_bDataOnRight: Boolean; p_bRequired: boolean; p_bFilterTools: boolean; p_bFilterNot: boolean; p_saOnBlur: ansistring; p_saOnChange: ansistring; p_saOnClick: ansistring; p_saOnDblClick: ansistring; p_saOnFocus: ansistring; p_saOnKeyDown: ansistring; p_saOnKeypress: ansistring; p_saOnKeyUp: ansistring; p_saOnSelect: ansistring );

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

http://www.jegas.com
Generated by PasDoc 0.14.0.