IDE: show hints in object inspector defaults to true (issue #12127)

git-svn-id: trunk@17152 -
This commit is contained in:
vincents 2008-10-29 14:17:00 +00:00
parent dfd92b6cd7
commit 8149dc9b66

View File

@ -43,7 +43,7 @@ uses
ComponentTreeView, ComponentEditors, IDEImagesIntf; ComponentTreeView, ComponentEditors, IDEImagesIntf;
const const
OIOptionsFileVersion = 2; OIOptionsFileVersion = 3;
type type
EObjectInspectorException = class(Exception); EObjectInspectorException = class(Exception);
@ -3285,8 +3285,9 @@ begin
FPropertyNameColor:=ConfigStore.GetValue( FPropertyNameColor:=ConfigStore.GetValue(
Path+'Color/PropertyName',clWindowText); Path+'Color/PropertyName',clWindowText);
FShowHints:=ConfigStore.GetValue( FShowHints:=ConfigStore.GetValue(
Path+'ShowHints',false); Path+'ShowHints',FileVersion>=3);
FAutoShow := ConfigStore.GetValue( FAutoShow := ConfigStore.GetValue(
Path+'AutoShow',true); Path+'AutoShow',true);
FBoldNonDefaultValues := ConfigStore.GetValue( FBoldNonDefaultValues := ConfigStore.GetValue(
@ -3349,7 +3350,7 @@ begin
FPropertyNameColor,clWindowText); FPropertyNameColor,clWindowText);
ConfigStore.SetDeleteValue(Path+'ShowHints',FShowHints, ConfigStore.SetDeleteValue(Path+'ShowHints',FShowHints,
false); true);
ConfigStore.SetDeleteValue(Path+'AutoShow',FAutoShow, True); ConfigStore.SetDeleteValue(Path+'AutoShow',FAutoShow, True);
ConfigStore.SetDeleteValue(Path+'BoldNonDefaultValues',FBoldNonDefaultValues, True); ConfigStore.SetDeleteValue(Path+'BoldNonDefaultValues',FBoldNonDefaultValues, True);
ConfigStore.SetDeleteValue(Path+'DrawGridLines',FDrawGridLines, True); ConfigStore.SetDeleteValue(Path+'DrawGridLines',FDrawGridLines, True);