New blog post -
New blog post -
VCL Styles Utils – Major Update (Dialogs, ProgressBar, DateTimePicker, ListView and more)
http://theroadtodelphi.wordpress.com/2014/11/04/vcl-styles-utils-major-update-dialogs-progressbar-datetimepicker-listview-and-more/
VCL Styles Utils – Major Update (Dialogs, ProgressBar, DateTimePicker, ListView and more)
http://theroadtodelphi.wordpress.com/2014/11/04/vcl-styles-utils-major-update-dialogs-progressbar-datetimepicker-listview-and-more/
Great stuff! The before/after screenshots a great idea... I don't think I had realised all the places VCL Styles didn't apply before.
ReplyDeleteThanks David Millington.
ReplyDeleteRodrigo Ruz Really nice work, great illustrations. Like some of your other style work will these eventually become part of an XE release or update ?
ReplyDeleteBrett Wilton that depends of EMB ;)
ReplyDeleteIn your Vcl.Styles.Utils.pas, I saw this :
ReplyDeleteclass procedure TVclStylesUtils.SaveSettings(const FileName:String;Elements :TVCLStylesElements; FilterType : TVCLStylesFilter;Filters : TObjectList);
var
Doc : TXMLDocument;
RootNode, ChildNode, oNode : IXMLNode;
LFilter : TBitmapFilter;
begin
Doc :=TXMLDocument.Create(nil);
try
Doc.Active := True;
Doc.Version :='1.0';
Doc.Encoding:='utf-8';
Doc.Options := [doNodeAutoIndent];
RootNode := Doc.AddChild('VCLStylesEQ');
RootNode.Attributes['created'] := FormatDateTime('YYYY-MM-DD HH:NN:SS',Now);
RootNode.Attributes['vseBitmaps'] := BoolToStr({vseBitmaps in Elements}True, True);
RootNode.Attributes['vseSysColors'] := BoolToStr(vseSysColors in Elements, True);
RootNode.Attributes['vseStyleColors'] := BoolToStr(vseStyleColors in Elements, True);
RootNode.Attributes['vseStyleFontColors'] := BoolToStr(vseStyleFontColors in Elements, True);
ChildNode := RootNode.AddChild('FilterType');
ChildNode.Attributes['Name'] := VCLStylesFilterNames[FilterType];
for LFilter in Filters do
begin
oNode := ChildNode.AddChild(LFilter.ClassName);
oNode.Text:=IntToStr(LFilter.ColorValue);
end;
Doc.SaveToFile(FileName);
finally
Doc:=nil;
end;
end;
Doc:=nil never freed Doc beacause it's a TXMLDocument not a TXMLDocument. No ?
see this because compiler warning
your library is a great job !!!