Creating a Custom Component
/documentation/pages/Guides/Mobile and Web Components/Custom/Creating a Custom Component.xml
Creating a custom component involves four steps.
Placing a Button on a Form
/documentation/pages/Guides/Desktop/Xdialog/Controls/Buttons/Placing a Button on a Form.xml
When you put a new button on a form, Alpha Anywhere assumes that you first want to attach a script to its OnPush event. Alpha Anywhere lets you define the action for the button in one of three ways:
Using a Dialog as a Search Form
/documentation/pages/Guides/Desktop/Design/View/Form/Using a Dialogasa Search Form.xml
Assume you have a grid that shows all the records of a table, such as the following.
Placing a Data Field on a Form
/documentation/pages/Guides/Desktop/Design/Data/FieldRules/Placing a Data Field on a Form.xml
There are three ways to place data fields onto a form.
Placing a Running Count on a Report
/documentation/pages/Guides/Report/Adding System and Calculated Fields/Placing a Running Count on a Report.xml
This procedure explains how to place a running count of items on a report that produces something like the following. Note the sequence of numbers at the left of each Product ID.
Placing a Browser Control on a Form
/documentation/pages/Guides/Desktop/Xdialog/Controls/Placing a Browser Control on a Form.xml
The following procedure describes the process of placing the Microsoft Web Browser (shell.explorer) ActiveX control on a form.
Filtering a Grid with a Session Variable
/documentation/pages/Guides/Mobile and Web Components/Grid/Introducing the Grid Builder/Tutorials/Filtering/Filtering a Grid with a Session Variable.xml
How to filter the contents of a list based on the user's ID or another value.
Applying a Range to a Table
/documentation/pages/Guides/Desktop/Design/Data/DBF/Applying a Range to a Table.xml
To apply a range to a table while viewing a form or browse:
node_request Function
/documentation/pages/Ref/Api/Functions/Xbasic/Xbasic Functions/node_request Function.xml
Calls a node service from Xbasic. Returns a JSON string.
Using a Session Variable in a Component
/documentation/pages/Ref/Api/Objects/Server/Sessions/Using a Session Variable in a Component.xml
A session variable will not evaluate directly in a component. However, you can add code on a A5W page that uses the component to use a session variable. If you look at the Xbasic tab when editing the page in the Web Component Builder, you will see a line like this if you have set a filter in the component.