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 Posting Field Rule
/pages/Guides/Desktop/Design/Data/FieldRules/Creating a Posting Field Rule.xml
During data entry, you can post values in the current field to matching records in a second table, thus adding to, subtracting from, or replacing the value in a second table.
Using a Lookup to Set the Current Record
/pages/Guides/Desktop/Design/View/Database/Using a Lookup to Set the Current Record.xml
This topic describes how to use a table lookup to set the current record. The example is based on the Customer table of the AlphaSports sample database. The following form shows the Firstname, Lastname, Company, and Phone fields from the Customer table. In addition, there is a drop down combo box with the label "Lookup". The lookup field displays unique field values from the Phone field. When you select a phone number if the lookup field, the other controls on the form update automatically to show fields from the same record.
How to Create a 'Conditional Object' in a Layout Table Report
/pages/HowTo/Reports/Conditional Objects in Layout Table Reports.xml
When creating Free-form reports, the Conditional Object control is used to dynamically display content. When designing Layout Table reports, the same functionality can be created with Static HTML.
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 Field Rule Event
/pages/Guides/Desktop/Design/Data/FieldRules/Creating a Field Rule Event.xml
Events are pre-named Alpha Anywhere actions that are associated with certain Alpha Anywhere components. For example, clicking on a button on a form initiates an event called OnPush. When you click on a field, form or browse, a series of events happen. This series includes the OnArrive event for the field you clicked on, and the OnDepart event for the field you left. Alpha Anywhere lets you attach Xbasic code that executes when specific events like these occur.
Creating a Low Resolution Viewfile
/pages/Guides/Desktop/Design/Platform/Xbasic/Creating a Low Resolution Viewfile.xml
When you create an image database, you may want to have a low resolution viewfile to represent a higher resolution image. Typically, the viewfile would be used when you want to quickly put an image on the screen, without moving megabytes of data.
Open a Report, Label or Letter layout
/pages/Ref/Action Javascript/Open a Report, Label or Letter layout.xml
Displays a report, label or letter layout as a PDF file using the Acrobat PDF reader. The report is displayed in either a pop-up window or in a DIV on the current page.
Open a UX component to Edit Current Record in List Control in a UX, or add a new Record to a List Control in a UX
/pages/Ref/Action Javascript/Open a UX component to Edit Current Record in List Control in a UX, or add a new Record to a List Control in a UX.xml
Open a UX component in a pop-up window, or in a DIV on the current page, to eidt the current page, to edit the current row in a List control in a UX component or to enter a new record into a List. (Applies only to Lists based on SQL or DBF data sources).
Creating a Genie Dialog Box
/pages/Guides/Desktop/Xdialog/Creating a Genie Dialog Box.xml
This next example shows how a "genie" dialog can be created.