I started to rewrite all the Tooltips and noticed some things :
The Length of the Tooltip-Textline is allways adjusted to the Title-Width.
CRLF inside the Tooltip-Text is ignored, if a Textline is longer than the Title-Length.
Title : "Color-Background " <==== empty space must be added, to get longer Text-Lines.
The hight of the Tooltip is not adjusted to the Text.
It seems, maybe CRLF is counted to the Text ( 4 x ) ?
There is no Background-Color ( 128 = Red )
The same Tooltip, but without added Title-space.
CLRF doesn't work, because the Textlines are longer than the Title-text.
But now, the Tooltip-Hight is OK.
Title : "Color-Background" <==== trimmed
Another Test with a longer Tooltip-Title ( no added space at Title-end )
Is it possible, to adjust the Tooltip-Height to the Text-lines ?
- Code: Select all Expand view
oBButt1:cToolTip := { + CRLF + "Color-Background selected." + CRLF + ;
"Please aktivate all Previews" + CRLF + ;
"with Button < Show All >, or" + CRLF + ;
"select a single Dialog from the" + CRLF + ;
"right Buttonbar", "Color-Background ", 1, 0, 128 } // Space added to get full Textlines.
Best Regards
Uwe