View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002518||JEDI VCL||00 JVCL Components||public||2005-01-17 02:12||2005-04-12 09:04|
|Product Version||3.00 BETA 2|
|Target Version||Fixed in Version||3.10|
|Summary||0002518: Black Hint|
FSavedHintColor is empty,
vcl-components shows a black hint, after leaving jedi-controls
|Tags||No tags attached.|
||Please use JVCL 3 RC1 and let us know if this still happens|
||I use JVCL 3RC1 with JCL JCL1.94-Build1758, its the same.... black hint|
This is a quote from the newsgroup:
Problem seems to be that the code JvExControls.pas assumes that if the FMouseOver field of a control is set to true then also FSavedHintColor is set.
But if you look at the TJvCustomLookOutButton.MouseMove procedure then there MouseOver is set to true without setting FSavedHintColor (which is initially 0 (=clBlack), thus if you exit that control the hint color is set to black in Control_MouseLeave from JvExControls.pas.
IMO the whole changing of the hint color on enter/exit of a control should be dropped and instead CM_HINTSHOW should be used.
> instead CM_HINTSHOW should be used.
But how do we reset the hint color to the default for non-JVCL controls (or JVCL controls that doesn't have a HintColor property) after the hint has been shown?
is not necessary to use application.hintcolor, therefore is also not necessary to reset the hintcolors of non-jvcl-controls
procedure TJvExControl.CMHintShow(var Message: TCMHintShow);
> is not necessary to use application.hintcolor
Of course. How silly of me :)
|I have comitted an update to CVS that uses HintShow isto Control_MouseEnter/Leave. If it is confirmed to work in CLX as well, we can close this issue.|
|2005-01-17 02:12||wolkenlos||New Issue|
|2005-01-17 03:16||obones||Note Added: 0006168|
|2005-01-17 03:16||obones||Status||new => feedback|
|2005-01-17 04:10||anonymous||Note Added: 0006172|
|2005-01-17 12:20||remkobonte||Note Added: 0006185|
||Note Added: 0006205|
|2005-01-18 06:45||anonymous||Note Added: 0006206|
||Note Added: 0006207|
||Note Added: 0006288|
|2005-04-12 09:04||obones||Status||feedback => resolved|
|2005-04-12 09:04||obones||Resolution||open => fixed|
|2005-04-12 09:04||obones||Assigned To||=> obones|