Tooltip.property DataWindow object property
Description
Settings for tooltips for a column or control.
Controls
Button, Column, Computed Field, Graph, GroupBox, InkPicture,
Line, OLE, Blob OLE, Oval, Picture, Rectangle, Report, RoundRectangle,
and Text controls
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Tooltip.<span>property</span> |
Describe and Modify argument:
|
1 |
"<span>controlname</span>.Tooltip.<span>property </span>{ = ' <span>value </span>' }" |
DataWindowSyntaxFromSql:
|
1 |
Column ( Tooltip.<span>property </span>= <span>value</span> )<br>Text ( Tooltip.<span>property </span>=<span> value</span> ) |
|
Parameter |
Description |
|---|---|
|
controlname |
The control whose Tooltip properties When generating DataWindow syntax with DataWindowSyntaxFromSql, the Tooltip |
|
property |
A property that applies to the tooltip |
|
value |
Values for the properties are shown below. Value can |
|
Property for Tooltip |
Value |
|---|---|
|
Backcolor |
(exp) A long specifying |
|
Delay.initial |
(exp) An integer |
|
Delay.visible |
(exp) An integer |
|
Enabled |
(exp) Whether the
|
|
HasCloseButton |
Reserved for future use only |
|
Icon |
(exp) A string for
|
|
Isbubble |
(exp) Whether the Values are:
|
|
MaxWidth |
Reserved for future use only |
|
Position |
Reserved for future use only |
|
Tip |
(exp) A string specifying |
|
Title |
(exp) A string specifying |
|
Textcolor |
(exp) A long expression |
Usage
In the painter
Select the control and set the value on the Tooltip tab of
the Properties view.
Not available for columns or controls in RichText, Graph,
or OLE DataWindow objects. If you want to add a tooltip to an InkPicture
in a DataWindow, that InkPicture must not be enabled.
Examples
|
1 |
dw_1.Object.oval_1.Tooltip.Color = RGB(255, 0, 128) |
|
1 |
ls_data = dw_1.Describe("oval_1.Tooltip.Color") |
|
1 |
dw_1.Modify("emp_name.Tooltip.Color='11665407'") |
|
1 |
SQLCA.SyntaxFromSQL(sql_syntax, &<br>   "Style(...) Column(Tooltip.Delay.Visible=15 ...) &<br>    ...",    ls_Errors) |
|
1 |
SQLCA.SyntaxFromSQL(sql_syntax, &<br>  "Style(...) Column(Tooltip.TextColor=11665407 ...)"&<br>  , ls_Errors) |