Specifications

COM+ reference
Gallagher & Robertson Glink: API reference manual 71
Switch restricted mode on or off. In Restricted mode, methods marked as
Restricted will silently do nothing. A key is required to switch restricted mode
on, and the same key must be provided to exit restricted mode.
Parameters:
key - this key is memorized when switching restricted mode on, and must
match to exit restricted mode.
level - switch restricted mode off if 0, on if != 0.
Returns:
true if operation succeeded, otherwise false.
setScreenSize
void setScreenSize(int columns, int rows)
For most emulations the screen size is 80 columns times 24 rows. However some
emulation modes may use a different size. For Glink to be able to switch
between most of the different screen sizes, the default screen size is set to 132
columns times 32 rows, which means that the actual screen size may be less than
or equal to this size. For larger screens to be suported you must increase the size.
On the other hand, if you plan to run a number of Glink sessions simultaneously
and you know the screen size is less than the default, use this method to reduce
the memory allocated. The method must be called before the starting the initial
Glink session.
setString
void setString(String text, GlinkPoint location)
The setString method sends a string to the virtual screen at the specified
location. The string will only overwrite unprotected fields, and any parts of the
string which fall over protected fields will be discarded.
Parameters:
text - String to place in the virtual screen.
location - Position where the string should be written.