DSP® Application Development
Add a Tooltip
This feature is available for these controls:
- Button
- Combo Box
- Image
- List Box
First, write a view with the suffix Dtv for each column that requires a tooltip, alias the column as “boatooltip” in the view.
For example, the Finish button on a page is disabled when the Dependency Complete field is false. To display a short message that says why the button is disabled, the user creates the following view.
CREATE VIEW webRequestRoleDtv
AS
SELECT RequestID, RoleID, CASE Validate WHEN 0 THEN 'Dependency not complete for role' ELSE NULL END AS boaTooltip
FROM dbo.webRequestRoleDcv
The view uses a CASE statement, and sets the column to NULL when the tooltip should not display.
After the view is written, register it the column.
To register the tooltip view:
- 's Vertical View.
-
Click Edit.
- Click the Relational tab.
- Click Edit.
- Select the view in the Data Tooltip View list box.
-
Enter the binding field name(s) in the Data Tooltip Binding Field Names text box.
NOTE: Include a comma between names.
- Click Save.
Was this article helpful?
Sorry about that.
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
Want to tell us more?
Send an email to our authors to leave your feedback.
Great!
Thanks for your feedback.