Fix VCL Styles Directory in Delphi XE3

拟墨画扇 提交于 2019-12-06 05:29:31

oh, after a time, I found a way for solving this problem. for solving this problem must running the "redistsetup.bat" file. this file by default located in "C:\Program Files\Embarcadero\RAD Studio\10.0\Redist\redistsetup.bat". (^_^)

I found I was suddenly seeing this "Style 'Style Name' not found" error when as a result of removing a file from my project the line in my project file that shows

{$R *.RES}

was inadvertently replaced by

{R *.RES}

I had the same problem , after I added some styles in project ( option ) , I had error ' style not found " I remove all styles in project --> option but alwyse the same problème

After I go the source project I find those lines ( TrySetStyle )

 begin

  TStyleManager.TrySetStyle('Turquoise Gray');
  TStyleManager.TrySetStyle('Cobalt XEMedia');
  Application.CreateForm(TFormLogin, FormLogin);
  Application.CreateForm(TFormMain, FormMain);
  Application.Run;
end.

The solution is just to remove those lines

But I think the probleme is some where the program can't find the path

iPath ツ

I think the only supported way of fixing IDE issues is to run Delphi setup and choose Repair (if the problem is really the Styles folder)

You can use Sysinternals' Procmon to check if your program (or the IDE) is failing to find/open a style file.

Also you may take a look at: How can I apply Delphi XE2 skins to forms in a DLL?

Maybe check this directory C:\Users\Public\Documents\RAD Studio\10.0\Styles

I have no idea and cannot reproduce the problem.

In the help file - Section Application Appearance.

Greetings Mike

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!