Title Object
The Title object is referenced through the WyseTerm Object as the LPDISPATCH title property. This property holds all information related to the title and its contents, and is both readable and writable.
After the OLE client changes the title property, it cannot be changed again until you set its value to empty (null) and reset the title. If you want a blank title, use a single space.
The default title is:
- Telnet Hostname[IP]
where hostname is the name of the PC to which you want to connect, and IP is its IP address.
or
- Telnet
if no connection has been established.
Changing the Title
The following script changes a title:
-
'Sample Hummingbird Basic snippit to do this (Same for Visual Basic)
Set Term=CreateObject ("Hummingbird.WyseTerm")
Term.visible=1
'Telnet is now visible
Term.title="Personalized Telnet"
'do something with new title being shown
Term.title=""
'empty title reverts to default
Term.title=Chr$(32)'space character
'appears as blank
'You can get the value of the property as well:
Dim titlestring
titlestring=Term.title