1
votes

i have this problem; i need call filectrl unit in a my unit. Of course, i do: uses filectrl in interface section but it not is detected. I have tried too with system.filectrl but not found too this. I have searched in help (online and local) but there is wrote that unit is correct. I use delphi xe2, too you have same problem? Have solved it? If yes as you done? Thanks very much.

3

3 Answers

7
votes

The full name of this unit in Delphi XE2 is:

uses VCL.FileCtrl;
5
votes

The scoped name you need is Vcl.FileCtrl.

3
votes

You can either use Vcl.FileCtrl, as others have already written, or you can add Vcl to the Namespace prefixes in the project options. The ellipsis button for that shows an editor for such prefixes. To be like XE, you can e.g. add System, Vcl and Winapi as prefix.

But I would only do the latter (Namespace prefixes) if I were using old code.