Objects that have methods that can be called from Xbasic.
- Object Data Types
Arrays, blobs, and collections
- Database Objects
Dictionary, Field, index, Query, Set, and Table objects. Also methods for Database operations.
- Layouts Objects
Methods for Layouts objects, including Control, Label, Letter, and Report objects.
Objects available from the application server.
- System Objects
Methods for System objects, including Addin, FILE, FileFind, OLE, Registry, Sockets, Thread, Trace, Exe, and Module objects.
- Utility Objects
Utility objects - ImageName object, ImageResource object, ImageViewer object, and StringScanner object.
An object is a component of Alpha Anywhere. Objects include: tables, fields, forms, browses, buttons, browse columns, the control panel, Alpha Anywhere itself, an so on. All objects have an address which is used when you want to issue a command to do something to an object, or when you want to find out something about an object.
Alpha Anywhere includes a large number of system objects that are always present. Examples of system objects are: Form, Report, Browse, Control Panel, and Status Bar. Other new objects are created whenever a form or browse window is opened.
To see a full list of system objects, open the Code Editor, display the Xbasic Explorer, open the Objects node, and then open the System node.
Testing the Existence of an Object
If it is object necessary in an Xbasic script to test if an object exists, use the OBJ() and IS_OBJECT() functions.