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:

 

ANIMATE

DATATABLE

ICON

OBJECT

STATTEXT

AUTOMATION

DATETIME

IMAGELIST

PANEL

STATUSBAR

BUTTON

DIALOG

JSON

PICT

STATUSPANEL

CHECKBOX

EDITDATETIME

LABELTEXT

PLBOBJECT

SUBMENU

CHECKGRP

EDITNUMBER

LINE

POPUPMENU

TABCONTROL

CLIENT

EDITTEXT

LISTVIEW

PROGRESS

TIMER

COLLECTION

ERROR

MAINWINDOW

RADIO

TOOLBAR

COLOR

FLOATMENU

MENU

RADIOGRP

TOOLBUTTON

COMBOBOX

FONT

MENUITEM

RICHEDITTEXT

TREEVIEW

CONTAINER

FTP

MOVIE

RUNTIME

VARIANT

CONTROL

GROUPBOX

MREGION

SHAPE

VSCROLLBAR

DATALIST

HSCROLLBAR

NETCONTROL

SLIDER

WINDOW

DATASET

HTMLCONTROL

NETOBJECT

SPLITTER

XDATA

 

 

See Also: Object Activates, Object Properites



PL/B Language Reference ANIMATE