Are you using SHORT strings in your code ?
No.
No code is used for displaying the Hint Window : I fill the Project Inspector by Copy/Paste with the values found in BGRABitmapType and one can read, in the bottom of the Project Inspector when the Hint property is selected, "Hint is a
TTranslateString property with hint text displayed in a pop-up window when the mouse is hovered over the control..."
One more time, the content of my .lfm, section RadioGroup :
object rdgResFilters: TRadioGroup
...
Hint = 'Box Equivalent of simple stretch with high quality and pixel-centered coordinates'#10'Linear Linear interpolation giving slow transition between pixels'#10'HalfCosine Mix of Linear and Cosine giving medium speed transition between pixels'#10'Cosine Cosine-like interpolation giving fast transition between pixels'#10'Bicubic Simple bi-cubic filter (blurry)'#10'Mitchell Good for downsizing interpolation'#10'Spline Good for upsizing interpolation, however slightly blurry'#10'Lanczos2 Lanczos with radius 2, blur is corrected'#10'Lanczos3 Lanczos with radius 3, high contrast'#10'Lanczos4 Lanczos with radius 4, high contrast'#10'BestQuality Best quality using Mitchell or Spline'#10' '
...
Items.Strings = (
'Box Equivalent of simple stretch with high quality and pixel-centered coordinates'
'Linear Linear interpolation giving slow transition between pixels'
'HalfCosine Mix of Linear and Cosine giving medium speed transition between pixels'
'Cosine Cosine-like interpolation giving fast transition between pixels'
'Bicubic Simple bi-cubic filter (blurry)'
'Mitchell Good for downsizing interpolation'
'Spline Good for upsizing interpolation, however slightly blurry'
'Lanczos2 Lanczos with radius 2, blur is corrected'
'Lanczos3 Lanczos with radius 3, high contrast'
'Lanczos4 Lanczos with radius 4, high contrast'
'BestQuality Best quality using Mitchell or Spline'
)
...
end
And again, the 8 characters following the words
'BestQuality Best quality using Mitchell or Spline'
, "
#10' ' ",
are added by me so I can read the last sentence.
If I don't add them, no last sentence is visible, the HintWindow ends up with
'Lanczos4 Lanczos with radius 4, high contrast'
, followed by an empty line.
To avoid it, I
must limit the number of lines to 8, but doing that, I loose 3 hints, not fun...
![Wacko %)](/Smileys/ExcellentSmileys1/wacko.gif)