- Activate a Form/Browse Window
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Forms/Activate a Form Browse Window.xml
The Activate a Form/Browse Window action sets focus to an already open form or browse window.
- Activate Window
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Activate Window.xml
The Activate Window action sets focus to a window. You can must have the window open to select it.
- Opening a Filtered Browse on another Form
/documentation/pages/Guides/Desktop/Design/View/Browse/Opening a Filtered Browse on another Form.xml
Button4 on the Detail tab of the Inventory form opens the Review of Sales form to display the sales history for the currently selected product. The procedure to create a similar button is very simple.
- Set Variable(s) to Form/Browse Window Info
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Set Variables to Form Browse Window Info.xml
The Set Variable(s) to Form/Browse Window Info action retrieves various kinds of information about a window.
- Quick Import for a Form or Browse
/documentation/pages/Guides/Desktop/Design/View/Form/Quick Import for a Form or Browse.xml
A new option in the Records menu for a Form or Browse allows you to import data from an Excel file or a comma delimited ascii file directly into the current table (i.e. the table that the open Browse or Form is based on).
The file you are importing must have field names in the first row that match field names in the current record.
- Testing if a Form or Browse is Already Open
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic/Testing if a Form or Browse is Already Open.xml
It is often necessary in an Xbasic program to test if a form or browse window is already open. To do this, use the IS_OBJECT() function.
For example, the following command tests if a form called Customers is already open. If not, it opens the form. If it is open, it gives focus to the form.
- Toggle Form or Browse Mode
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Toggle Form or Browse Mode.xml
The Toggle Form or Browse Mode action switches between the form and browse views of a table or set.
- Open Default Form or Browse
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Forms/Open Default Form or Browse.xml
The Open Default Form or Browse action opens the default window for a table or set and returns a pointer to manipulate its contents.
- Open Form or Browse Layout
/documentation/pages/Guides/Desktop/Design/View/Browse/Open Form or Browse Layout.xml
The Open Form or Browse Layout action opens a form or browse.
- Form or Browse Table Pointer
/documentation/pages/Desktop/Reference/Design/View/Form/Form or Browse Table Pointer.xml
When a form is opened it creates a new session, and it opens the table that it is based on. In the case where the form is based on a set, the Form will open all of the tables in the set.