Platform

Description

An Alpha Anywhere User Guide to the Desktop.

Name
Description
Getting Started - Action Scripting

Typically, scripting in Alpha Anywhere would require knowledge of its programming language Xbasic. However, with Action Scripting, you can program using logical steps or actions, rather than by writing code, reducing the need to learn Xbasic. In this lesson, you learn about creating Action Scripts and using them to automate and customize your database application.

Using the Pop-Up Event Editor - Action Scripting

The Pop-Up Event Editor differs from the Code Editor in that it's a modal window, whereas the Code Editor is modeless. The pop-up editor is useful for making quick changes to an event, or getting a quick overview of all the events for a particular object. In this lesson you will use the form's onactivate event to maximize the form (make it fill the entire screen) whenever the form gets focus. Then you will use the form's CanSave event to fill in the shipping address fields if they haven't been set. The CanSave event fires whenever an attempt is made to save a record in a form or browse. The script typically checks if certain conditions have been met. If these conditions have not been met, the script can cancel the event (the record won't be saved).

Xbasic

An Alpha Anywhere User Guide to the Desktop.

Xbasic Action Scripting

An Alpha Anywhere User Guide to the Desktop.