I would like to display the chart editor with just Tools (Graph Tools menu option). I can set the options to only display Tools but then the Themes tab is still visible. I want to allow themes for my Graph Settings dialog so I can't remove the ability to change themes. What do I need to do to avoid displaying the theme tab in the chart editor in one case but not in another case.
Don't ask about why users want two separate dialogs - which are basically the same thing - it's a long.... story.
Chart Editor and Theme Tab
Hi,
we've added a new method in the TeeThemeEditor.pas unit to allow to hide the tab via code :
procedure ShowThemesEditor(Value:Boolean);
which will be available for the next maintenance release.
If you're source code customer you can add it manually and rebuild the sources. :
we've added a new method in the TeeThemeEditor.pas unit to allow to hide the tab via code :
procedure ShowThemesEditor(Value:Boolean);
which will be available for the next maintenance release.
If you're source code customer you can add it manually and rebuild the sources. :
Code: Select all
procedure ShowThemesEditor(Value:Boolean);
begin
if Value then
begin
if Not Assigned(TeeThemeSelectorHook) then
begin
InstallHook;
TeeThemeSelectorHook:=ChartThemeSelector;
end;
end
else begin
TeeThemeSelectorHook := nil;
RemoveHook;
end;
end;
Pep Jorge
http://support.steema.com
http://support.steema.com