ArborX


tgsel

Longname: t g raphic sel ect   Open the Documentation Legend
Released: not available 
Created: not available 
See also: tgaddsel tgtypsel trun
mousegraphicctrl (n/a)

Summary
Prepares to select graphic objects. When an item is selected, any previously selected items are de-selected.
Example extract

Scripts can be assigned to a graphic, so that when the user clicks on the graphic the script is run. This is achieved using the graphics macros tgtpos and tgsel with -1 parameters. You must first assign a script to a selected object graphic using the tgtext macro, or by selecting [Graphic/Attach text/Text stream]. Change the position of the text stream using the tgtpos macro shown below:

Run the script by selecting the graphic using the graphics selection macro tgsel as shown below:

If you are planning an interactive document of some kind it would make sense to assign the tgsel -1 macro to a keystroke or toolbar button for instance. Like the example shown below (0000 representing the key number):

 tgtpos -1 5
 tgsel -1 7
 *0000tgsel -1 9

Syntax (SVNNA)
tgsel  code:n?  mouse control:b?
code:n
Deselect all
Select all
Exclusive select all
–1  Special (Script/Link mode)

Document created on 08-Feb-2003 (revision 1)