 | StampPlot now has the ability to use specially created controls to
increase the flexibility, and with the right skills, you can develop your
own! Read more!
|
 | Time and Date portions are directly accessible as macro values:
(HH) = Hour
(MM) = Minute
(SS) = Seconds
(MO) = Month
(DD) = Day
(YY) = Year
|
 | Images can now be used as backgrounds which can have object controls
placed directly on it!
!POBJ oBack=misc/background.jpg
or Drag and drop the image name from the Object Editor Media Tab
to the oBack text box.
|
 | When using the Macro--> Run menu, the macro is automatically loaded
into the Macro Editor
|
 | StampPlot Tables
StampPlot Tables are text files (*.spt) which can be used as look-up
tables and/or a population table. By using a separate file it allows
easy updating by an end user without having to modify macros.
 | The file MUST reside in the same directory as the macro. |
 | The file MIST have the same root name as the macro (i.e. miner.spm
has a table miner.spt) |
 | The best way to create a table is to:
 | Develop an initial interface. |
 | Use the Macro Editor (Developer's license) to build and save the
macro. |
 | Ensure that !DEFS (ME) is part
of the Init section. |
 | Run the macro. |
 | Use the main form's Macro --> Edit Lookup File to allow
it to create the file. |
 | Edit by adding your tables. |
 | The file may be opened by using !ESPT (Edit
spt).
|
|
 | Sample File:

|
 | In the example, there are 2 tables: JOB and CONN.
Each table has 2 columns separated by TABS
Each table ends with ENDLIST
|
 | An example use for list cross referencing is:
!STAT (JOB::20)
Would put 'Cover' in the status bar.
Conversely:
!STAT (JOB::Widget)
Would put 10 in the status bar.
A more real use would be from controller code where perhaps you have a
ID number for part or job to show in a text box to give a descriptive
name:
DEBUG "!O txtID=(JOB::", DEC
ID,")",CR 'BASIC
Stamp Code
|
 | A second use would be to populate a list box or dropdown list.
Given a list box named lstConnections:
!POBJ lstConnections.Add=(CONN:Table)
This will place all values on the left side of the CONN table in the
list box. Using code you can then cross reference to a value:
!STAT (CONN:lstConnects)
Note, the 1st example uses 2 colons, the 2nd example only 1.
|
|
 | Release 4.5
 | Added the Calculations and Plotting Control. |
 | Various StampPlot tweaks to make the control as useful
as possible. |
|