Objects
PLBCMP GUI Only
The major feature of a Graphical User Interface (GUI) is the addition of graphical objects to the user interface. A new set of graphical object data definitions is required for PL/B to change from a text based interactive I/O system to a graphical interactive I/O system. All of these objects have the same basic properties: Existence, Name, Position, Visibility, Activity, Value, and Contents. Not all of these properties may exist at the same time and not all may be changed.
In order to support these graphical objects, a group of object variables has been added to PL/B. Each object described by an object variable may be created, activated, deactivated, and destroyed. Each object may contain one or more specific items. Most of the objects are dynamic in nature in that the PL/B program may modify the information contained in them.
An item is a member of an object and may be manipulated once the object has been created. Items may be disabled, enabled, deleted, inserted, or have a check mark set or cleared beside them. Items may have their value and name retrieved or set. An item is referenced by a sequential number starting at one. The item number zero is reserved to indicate the entire object.
The following objects may be defined:
|
Provides server side access to the OpenAI and Gemini AI models. | |
|
Silently display an audio video interleaved (AVI) clip. | |
|
Provides an ActiveX Automation Client interface. | |
|
Provides a clickable button. | |
|
Provides a standard toggleable square box. | |
|
Provides a group of standard toggleable square boxes. | |
|
Allows obtaining information about the client environment. | |
|
Groups other objects into a set. | |
|
Defines a twenty-four bit color. | |
|
Provides a text box with a dropdown list. | |
|
Provides an OLE container interface. | |
|
Provides an ActiveX control interface. | |
|
Provides a scrollable list of items. | |
|
Provides a key-value store that is a simple NoSQL in memory database. | |
|
Provides an interface into a table of data, for manipluation and display purposes. | |
|
Allows manipulating date/time values. | |
|
Provies a date/time picker. | |
|
Allows input of numeric values in decimal format. | |
|
Allows input of text. | |
|
Allows capturing expanded information about an error. | |
|
Provides a menu that floats over a window. | |
|
Defines a font for displaying or printing text. | |
|
Provides a FTP ( File Transfer Protocol ) client. | |
|
Displays a frame around a group of controls with or without a caption. | |
|
Provides a free-standing horizontal scrollbar. | |
|
Embeds a HTML document. | |
|
Displays a standard GUI 32 by 32 pixel icon. | |
|
Manage and store a collection of identically sized images or icons. | |
|
Generate, retrieve, modify, and delete fields within a JSON object. | |
|
Displays a string of static text. | |
|
Displays a line. | |
|
Displays a collection of items in different layouts. | |
|
Provides access to properties and events for the main window. | |
|
Defines a drop-down menu. | |
|
Defines an element of a FLOATMENU, MENU, or SUBMENU. | |
|
Provides access to the current program module. | |
|
Display a standard AVI (Windows) movie. | |
|
Defines a mouse region on the screen. | |
|
Provides a .NET control interface. | |
|
Provides a .NET object interface. | |
|
A generic object pointer. | |
|
Provides a generic block-level container used to group objects together for layout and styling purposes. | |
|
Displays a picture from a URL, file, or resource. | |
|
Provides access to a PL/B CLASSMODULE code object. | |
|
Provides a text box with a dropdown list. | |
|
Displays an indicator showing the completion progress of a task. | |
|
Select exactly one option from a predefined set of choices. | |
|
Provides a group of radio buttons. | |
|
Provides support for Regular Expression processing for text find and replace. | |
|
Enables the user to enter, edit, print, and save text. | |
|
Provides access to set and retrieve information about the runtime environment. | |
|
Displays an oval or rectangular shape. | |
|
Provides a a numeric selection tool. | |
|
Allows the user to resize docked controls. | |
|
Displays a string of static text. | |
|
Displays various kinds of status information. | |
|
Represents a single panel in a STATUSBAR. | |
|
Defines a menu attached to an item in another menu. | |
|
Provides multiple pages for the same area of a window. | |
|
Generates events at prescribed time intervals. | |
|
Defines a menu of buttons for user selection. | |
|
Defines a button for a TOOLBAR. | |
|
Provides a display of a hierarchical list of items. | |
|
Provides a COM (Component Object Model) data structure. | |
|
Provides a free-standing vertical scrollbar. | |
|
Provides access to properties and events for a window. | |
|
Allows generation and parsing of XML and JSON data. |
See Also: Object Activates, Object Properites
![]() |