<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Regarding issue :</div><div dir="ltr"> <a href="https://bugs.freepascal.org/view.php?id=37901">https://bugs.freepascal.org/view.php?id=37901</a><br></div><div>I improved the property name/value hints in OI.</div><div>I had to comment out code that selects FValueFont or FDefaultValueFont.</div><div>The relevant code is below.</div><div>Q: How to get a font with negated color?</div><div>Does it even make sense to tweak it? The hint works OK with the default color now.</div><div>I ask in case somebody knows the topic well.</div><div><br></div><div>I did not study what Editor.ValueIsStreamed means. It never triggered in my tests.</div><div dir="ltr"><br></div><div>Regards,</div><div>Juha</div><div><br></div><div dir="ltr">---</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"><div dir="ltr">  procedure DoShow(pt: TPoint); inline;</div><div dir="ltr">  //var HintFont: TFont;</div><div dir="ltr">  begin</div><div dir="ltr">    if WidgetSet.GetLCLCapability(lcTransparentWindow)=LCL_CAPABILITY_NO then</div><div dir="ltr">      Inc(pt.Y, fPropRow.Height);</div><div dir="ltr">{ By Juha :</div><div dir="ltr">  FValueFont and FDefaultValueFont are nearly unreadable.</div><div dir="ltr">  We should maybe get their negated color as the hint background is black.</div><div dir="ltr"><br></div><div dir="ltr">    if HintType<>pehValue then</div><div dir="ltr">      HintFont := Screen.HintFont</div><div dir="ltr">    else</div><div dir="ltr">    if fPropRow.Editor.ValueIsStreamed then</div><div dir="ltr">      HintFont:=FValueFont</div><div dir="ltr">    else</div><div dir="ltr">      HintFont:=FDefaultValueFont;  }</div><div dir="ltr">    FHintManager.ShowHint(ClientToScreen(pt), TheHint, False{, HintFont});</div><div dir="ltr">    if FHintManager.CurHintWindow<>nil then</div><div dir="ltr">      FHintManager.CurHintWindow.OnMouseLeave := @HintMouseLeave;</div><div dir="ltr">  end;</div><div><br></div></div></div></div></div></div></div></div></div>