Date: Mon, 9 Sep 1996 15:29:38 +0000
Reply-To: wood-st@cityscape.co.uk
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Philip & Esther Mason <wood-st@CITYSCAPE.CO.UK>
Subject: SASTip: Tooltips on widgets
Why?
----
Adding tooltips to various objects in your SAS/AF applications
enables you to help the users to be aware of the function of various
objects simply by pointing to them.
In the SAS system toolbar you can add tooltips easily, but until 6.11
TS040 it was much more difficult to do so for widgets within a Frame.
How?
----
There are 2 methods:
(1) Toolbar objects
Simply specify description for each button of the toolbar in the
"Enter Values" dialog. The tooltip is appended to the end of your
description text. It should be of the form "\nTool Tip" - without
the quotes. eg. Press this for main menu\nMain
(2) All other widgets
Go into the widgets "Region Attributes". Select the "Outline"
pushbutton. Choose "Button" in "Outline Type". Choose any option
except "None" in "Button Behavior". Now enter your description and
tooltip in the "Description" entry field, in the form:
"Message Text\nToolTip"
Beware
------
The tooltip must come at the end of your description and follow the
"\n". Remember to use a forward slash "\".
Reference
---------
This information is buried away in the SAS Technical Help (via
TSMAIN.EXE) in a section called "Introducing Release 6.11 of the SAS
System for Personal Computers".
Tested
------
This tip was tested under Windows 95 using SAS 6.11 TS040.