ANSI Standard PL/B Language and Visual PL/B
CONTROLS and Objects
NOTE TO OUR READERS
This web resource is written for our own use. But we feel strongly that the PL/B language should be shared with the software community. So feel free to use this at will!
if you find errors or omissions or have a better way to do something. TELL US! Dialog helps us all. Send e-mail to: firstname.lastname@example.org
May 14, 1999
James Seal talked me thru.
quick notes were these:
The tool bar on the left can include CONTROLS.
You can click TOOLS and ADD at the top or RIGHT CLICK
on an open area of the tool bar then add a new control.
Controls are Active X components.
There are some Microsoft ones and there could be others on your machine.
If you buy a control you can use it for development and you can deploy it
with your software.
Deployed controls are runtime only and can't be used for development.
You can add them to the tool bar but they won't do anything.
To get rid of them again you need to click to select then right click
to get a delete option.
(The TOOL menu can be re-sized to allow more stuff to show up.)
We used the MICROSOFT CALENDAR CONTROL for an example.
Once added to the tool bar we clicked the toll and dragged a box onto
the screen. We get a calendar.
Right clicking in the middle of the middle of the new control box gives
a menu that includes BROWSE OBJECT
Use that and you get a two part form.
The top is a tree view of the items included in the control object.
Expand the tree to see these items.
There's also a HELP button at the bottom that describes features of
Expanding the tree allows you to click on any of the items and the
bottom window will give any information it can find about the item
Many of the controls have parameters involved. Some of those are
covered in the two PL/B include units both of which have comments: