ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIEFolderTree and TStyleManager issues

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
lbusch1313 Posted - Jun 24 2021 : 08:02:14
If I set a "style" via the Delphi Style Manager, a call to IEFolderTree1.Folder fails. I've tried dozens of possible work-arounds but no joy. I built a simple app consisting of just a folder tree to test. I've added the lightly annotated source below. Any ideas? Thanks.


unit pFolderTreeTest;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, iexFolderTree;

type
  TForm1 = class(TForm)
    IEFolderTree1: TIEFolderTree;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation
uses Vcl.Themes,  Vcl.Styles;
{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
  {In Project>Options>Appearance add "Tablet Light". Be sure "Windows" is set as the "default}
  IEFolderTree1.Folder:='c:\windows\';
  {A TStyle set to the "default"  style and the IE Folder loads}
  {comment in or out}
  TStyleManager.TrySetStyle('Windows');  {works as windows is the "default" theme}
  {Change from the "defaut" and the setting IE.folder fails}
  //TStyleManager.TrySetStyle('Tablet Light');
end;


Lou
2   L A T E S T    R E P L I E S    (Newest First)
lbusch1313 Posted - Jun 25 2021 : 10:31:32
I've just started using ImageEn and chalked it up to a knowledge deficit. Thanks for the quick reply. I've commented out the code in my project and will probably wait for the update to put it back.

Windows 10
Delphi 10.3
ImageEn 10
xequte Posted - Jun 25 2021 : 00:22:58
Hi Lou

Thanks for the report. We have a fix for this in the upcoming release (July) or you can email me for the updated source code.

Nigel
Xequte Software
www.imageen.com