Working with Images that Contain Multiple Sub-Images
/documentation/pages/Guides/Desktop/Xdialog/Working with Images that Contain Multiple Sub-Images.xml
An image can contain multiple sub-images. For example, the Alpha Anywhere system image called 'filebox' contains sub-images. The following script displays a dialog showing the 'filebox' image:
Working with List Boxes, Combo Boxes, Radio Buttons Etc.
/documentation/pages/Guides/Desktop/Xdialog/Controls/Working with List Boxes, Combo Boxes, Radio Buttons Etc.xml
If a list box, drop-down list box, radio button, two-state, or multi-state button control has a user defined list of choices, you can modify the displayed choices with Xbasic. For example, a drop-down list box might offer these choices to the user:
Working with Tables from another Session and with Child Tables on a Form
/documentation/pages/Guides/Desktop/Design/Data/DBF/Working with Tables from another Session and with Child Tables on a Form.xml
Assume that you have two forms open, FormA and FormB. It is possible for a script that is attached to a button or event in FormB to manipulate (i.e., enter, edit, delete records etc.) the table or tables that FormA is based on. Generally when a script needs to manipulate a table in the current session, you obtain a reference to the table in the current session using the TABLE.CURRENT() method. For example, the following script, which is attached to a button on a form, enters a record into the table on which the form is based:
Create a Docked Panel with a Working Menu
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Panels Menu/Create a Docked Panel with a Working Menu.xml
This guide shows how to create a docked Panel that can be opened by clicking on a button. The docked menu will then contain a list of items that can link back to different Panels in a Panel Layout.
DotNet Example: Working with Streams
/documentation/pages/Guides/Dotnet Integration/Examples/DotNet Example__COLON__ Working with Streams.xml
Occasionally a .NET function will require that you pass or receive a stream as a parameter. This example shows how to create a stream to upload a file.
Oracle-specific Geography Tasks
/documentation/pages/Guides/Databases/Geography/Oracle-specific Geography Tasks.xml
Oracle examples for creating and dropping tables with geometry columns, inserting location data values, inserting line data values, and inserting polygon data values.
DotNet Example: Working with Enumerated Types
/documentation/pages/Guides/Dotnet Integration/Examples/DotNet Example__COLON__ Working with Enumerated Types.xml
.NET enumerated types appear to be of type P in Alpha Anywhere. Using .NET enumerated types in Xbasic, for example *[extlink:System::Web::[email protected]://msdn.microsoft.com/en-us/library/system.web.httpcookiemode.aspx]*, will require attention to the coding style. It is best to assign and test enumerated types as follows:
Working With SQL Data Using Xbasic
/documentation/pages/Guides/Xbasic/An introduction to Xbasic/workingWIthSQLData.xml
How to use Oracle Sequences
/documentation/pages/Server/Guide/Design/View/Database/Using Oracle Sequences.xml
Some databases implement a column property called auto-increment (typically a number) to automatically generate unique key values for newly inserted table rows. You may omit the value from the SQL INSERT statement VALUES list or set it to NULL. In some cases, the database may allow you to insert a specific value provided that it is unique for the table.
Using AlphaDAO with Xbasic
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic/Using AlphaDAO with Xbasic.xml
Includes: What is AlphaDAO?, terminology, the AlphaDAO object, and creating an object,