Data-tree visible when opening designer.
Hello,
Is it possible when you open the designer at runtime, to display defaut the
data-view and on the layout-tab select only the Fields to add. How can i do
this?
Is is also possible to set the default font for the added items?
Thanks in advance,
Wim Looman
Hills automatisering b.v.
Is it possible when you open the designer at runtime, to display defaut the
data-view and on the layout-tab select only the Fields to add. How can i do
this?
Is is also possible to set the default font for the added items?
Thanks in advance,
Wim Looman
Hills automatisering b.v.
This discussion has been closed.
Comments
Try using the TppDesigner.ToolBarManager.FindToolBar method to get access to
the TppDataTree class. You will do something like the following snip of
code below:
uses
ppDsgner, ppToolWn, ppIDE;
{Some event or method}
var
lDataTree: TppDataTreeWindow;
lToolBarManager: TppToolBarManager;
begin
lToolBarManager := TppDesignerWindow(Designer.Form).ToolBarManager;
lDataTree := TppDataTreeWindow(lToolBarManager.FindToolBar('DataTree'));
lDataTree.Visible := True;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for your answer,
When i try to assign TppDesignerWindow(Designer.Form).ToolBarManager to
lToolBarManager i get an error undeclared identifier (ToolBarManager). Is
this because i use rb version 6.02 enterprise and do i need to upgrade to
rb7, or is it someting else that i'm missing?
When i look in the class of TppDesignerWindow, i can't find anything from
the ToolBarManager so i think it will be in the next version?
Thanks again in advance.
Be sure you added ppIDE to your uses clause. If you are still experiencing
the problem, try downloading the trial version of ReportBuilder 7.02
Enterprise and testing with that. Be sure to back up all your templates
before opening them in 7.02.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com