home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
p
/
popups
/
!PopUpTest
/
!Help
next >
Wrap
Text File
|
1993-05-24
|
4KB
|
92 lines
Help for !PopUpTest
===================
** This application and contents are Public Domain
^^^^^^^^^^^^^
This application is a simple testbed and demonstration application for
the PopUp Manager module and Server application, but also is a good source
of code if you wish to write applications using PopUps.
Double click the application to run it and install the PopUp system
Click menu on the iconbar icon to display a menu. Moving the mouse pointer
over these menu items, or clicking on them, will do the following:
Info => Displays the normal program info window
-------------
Magnify => Displays a 'Magnify' PopUp. This gives you two writable
icons and 'bump' buttons to change them with. Every
time you change the value in the icons, the current
value is updated, and will be printed over the top left
corner of the screen.
Print => Displays a simple 'print' dialogue which allows you
to set a number of pages to print, and then click OK
to start the printing operation. (The test application
DOES NOT print anything, however!)
ProgInfo => Displays a 'ProgInfo' PopUp. Note that this window will
appear with a close icon if it is opened by clicking
on the parent menu item, while it will appear without
a close icon if you just follow the arrow.
Report... Click on this item to bring up a problem/message report
dialogue box. You may select the 'affirmative' (left)
button by clicking on it or pressing return. You may
select the 'negative' (right) button by clicking on it
or by pressing escape or by clicking outside the
report box. Note that while you are making up your
mind, PopUpTest is halted, but all other tasks
continue to multitask.
Save => Displays a 'SaveAs' PopUp. If you drag the file icon to
a directory viewer, it will save a small test file
under that name to prove that it works.
If you attempt to save with an invalid pathname by
clicking 'OK', a 'Report' style box will appear to
inform you what to do to save ("drag the icon")
(Notice that the report box automatically stays clear
of the edges of the screen - All 'standalone' and
'static' PopUps do this, so that you can't easily lose
the iconbar under a PopUp)
WimpColour => Displays a 'WimpColour' PopUp - clicking on a new colour
causes an 'instant effect' to set the colour (it will
beep and print the new colour over the top left corner
of the screen)
(etc.)
-------------
Quit Quits the application, leaving the PopUps installed.
NOTE that sometimes when the Test application gets back a new state value from
the PopUp system, it will beep and print an explanation of what has been
set over the top left corner of the screen (in black on white text). This
will make a bit of a mess of the screen - ignore it. One day, I might
go to the tremendous effort of adding a window to the test app. to display
these reports in! (Though I'm thinking of writing a text-display PopUp ;-)
Despite all the windows this program displays, there is not a single
Wimp_Open/LoadTemplate, Wimp_CreateWindow, or Wimp_OpenWindow call in the
BASIC !RunImage code AT ALL!
For programming information on using PopUps in your own programs and writing
new PopUp modules (or changing existing PopUp modules), please see the
accompanying PopUp document files.
More PopUp modules may be forthcoming in the near future.
---
Please send any comments, suggestions, bug reports, new modules, ideas,
money, expensive cars, and beautiful rich women to:
Jason Williams,
R.D.2, Manuel Road,
Silverdale,
North Auckland,
NEW ZEALAND.
jason@tmota.nacjack.gen.nz