- Creating a Previous Values Lookup
/pages/Guides/Desktop/Design/Data/DBF/Creating a Previous Values Lookup.xml
The Previous Values lookup is a great way to dynamically build a choice list from values that have already been entered.
In a table containing product information, you might define a Product type field with a Previous Values lookup. Since the number of product types is limited, once you enter several product records, you can select the value from the list instead of typing it in.
Many parameters available with the other lookup styles are available for use with a Previous Values lookup, including the ability to display lookup choices in a drop-down list box.
If you selected "Conditional Table Lookup", optionally, un-check Display as Drop-down list box if you would like the choices to appear instead in a pop-up dialog box. Refer to Comparing Drop-down Lists and Popup Dialogs.
- Creating a Maximized Application with a Menu
/pages/Guides/Desktop/Design/View/Form/Creating a Maximized Application with a Menu.xml
Many application developers would like to present their software with all traces of Alpha Anywhere hidden and with access to Windows tightly controlled. This example demonstrates a technique using the sample AlphaSports database.
- Creating a Button with a Bitmap
/pages/Guides/Desktop/Xdialog/Controls/Buttons/Creating a Button with a Bitmap.xml
Button3 uses an Xbasic routine to copy the customer address to the clipboard. Button3 uses a bitmap instead of text to define its purpose.
- Creating a Table and Exporting Selected Records to the Back-End
/pages/Guides/Desktop/Design/Data/SQL/Creating a Table and Exporting Selected Records to the Back-End.xml
The following script selects records from the Alpha Sports customer.dbf table and writes them to a new table named "CustomerX" in the Access AlphaSport.mdb database.
- Adding New Markers to a Map
/pages/Guides/Mobile and Web Components/Grid/Grid Properties/Alternate Views/Google Maps - Alternate Views/Adding New Markers to Map GM16.xml
Shows how a New Marker Can be Added to a Map When Entering New Records to a Grid.
- Creating the NewLogin.A5W Page
/pages/Server/Guide/Design/View/A5W/Creating the NewLogin Page A5W.xml
Web publishing applications only. The NewLogin.A5W page will contain a login component. It will ask for the user's login and password. If the login is successful, it will redirect the user to the DemoNavigator.A5W page.
- Testing if a New Record Was Created
/pages/Guides/Desktop/Design/View/Database/Testing if a New Record Was Created.xml
If you want conditionally run a script only when a new record was created, you can place this code in the CanSaveRecord event of the form.
- How to Register New Users in a Web Application
/pages/HowTo/Security/Create New User.xml
An interface for adding new users to the security system in web applications can be created using the UX Component.
- Creating and Using a Conditional Object
/pages/Guides/Desktop/Design/View/Form/Creating and Using a Conditional Object.xml
A conditional object is a multi-level rectangular frame used to conditionally display and hide groups of objects. Conditional objects behave like tabbed objects, except that instead of tabs, each page is automatically selected by Alpha Anywhere based on the expressions you enter. A page is selected when the expression evaluates to TRUE. If no expression evaluates to true, the default page is shown.
- Creating a Property Grid for a User-defined Component
/pages/Guides/Mobile and Web Components/Custom/Creating a Property Grid for a User-defined Component.xml
One way to create a Property Grid for a User-defined Component is to use the Property Grid builder in Action Scripting to generate the markup. This is invoked by creating a New Script (using Action Scripting), adding a new action, and selecting Xdialog Windows|Display an Xdialog Box.