Guest
Guest
|
Hi!
I have found the FastCommandBarSearch property of TadxCOMAddInModule but it is undocumented. Can you explain what this property does? |
|
Dmitry Kostochko
Add-in Express team
Posts: 2887
Joined: 2004-04-05
|
Use True for this property to speed up all searches of command bars. By default, command bars are found by their names via the CommandBars collection enumeration. But it is slow.
If you set True to FastCommandBarSearch, we just do the followings to find command bars:
try
CmdBar := HostApp.CommandBars[CmdBarName];
except
CmdBar := nil;
end;
As you see there is an exception if the name isn't found. But this exception is "stubbed" and searches are fast.
Sincerely,
ADX Support Team |
|