The Application Window Type
An application window is a composite object. It provides a canvas together
with some scrollbars (if you want them). In other words, the application
window object will always also create a
canvas object at the same time. It can also create one or two scroll objects when it is created. This type
is very basic, all you can do is tell the applic to allow horizontal or
vertical scrolling (with or without scroll bars).
It is intended that you never directly use the
scroll type: if you want a canvas with a scrollbar, you should always
use an application window.
The Type Words
When creating this type of object, the type parameter is:
PW('TYPE_APPLIC')
The tags
Here are the tags for this object. As usual, change tags are also used when
creating the object.
The change (and creation) tags
- PW('APPLIC_SCROLL_X')
-
Tells the object that this application window should be scrollable
horizontally, but without a scrollbar. There are no parameters.
- PW('APPLIC_SCROLLBAR_X')
-
The application window should be scrollable horizontally, with a scrollbar,
no parameters. Asmentioned above, the scrollbar is actually another
ProWesS type, the scroll type. So the
application object will, if you indicate this tag, create a scroll type
object. This is done automatically and without you having to worry about
it.
- PW('APPLIC_SCROLL_Y')
-
The application window should be scrollable vertically, but without a
scrollbar, no parameters.
- PW('APPLIC_SCROLLBAR_Y')
-
The application window should be scrollable vertically, with a scrollbar,
no parameters. The scrollbar is actually a ProWesS type, the scroll type. So the application object will,
if you indicate this tag, create a scroll type object. This is done
automatically and without you having to worry about it.
- PW('APPLIC_XSCROLL_LIST')
-
Pass the parameters of this tag on to the horizontal scrollbar in the
application window. The parameter should be a list of tags. This means that
you make a list of tags (and their parameters) which you would normally
pass on the a scroll type (in other words, use the tags one would use for
the scroll type in the list!). Such lists
are always terminated with 0, so the last parameter of a list must always
be 0. The application window type will send these tags and their parameters
on to the scroll type, as if you had PWchanged that type.
- PW('APPLIC_YSCROLL_LIST')
-
Pass the parameters of this tag on to the vertical scrollbar in the
application window. See the explanation above.
- PW('APPLIC_CANVAS_LIST')
-
Pass the parameters of this tag on to the canvas of the application window.
See the explanation above, only this time the list must contain tags
relating to canvas objects, not scroll
objects.
The query tags
There are no query tags for this object.
PROGS, Professional & Graphical Software
last edited 1996 May 30 (wl)