Calc Tab
I've seen a few examples on the newsgroups of how to hide the Data tab at
runtime with
ppUnRegisterDesignModule(TdaDataManager, 'TppDesignerWindow');
Can I do something similar with the Calc tab and will this also hide the
Calculations entries on the popup menu for variable fields?
I'm currently using 6.03 enterprise, BTW although will be upgrading to 7.x
eventually
--
Paul Toms (mailto:paultoms@cix.co.uk)
This discussion has been closed.
Comments
You can toggle the visibility of the Calc tab and calculations dialog using
the Designer.RapInterface properties. Set riDialog and riNotebookTab to
false and you should get the effect you need.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
--
Paul Toms (mailto:paultoms@cix.co.uk)
designer with riDialog off, then close it (and I and freeing the form that
owns the TppDesigner component as well so presumably everything is created
afresh), then open the designer with riDialog ON, I get an AV :-( Its
breaking in the routine:
procedure ppRegisterForm(aAncestorClass, aDescendantClass: TFormClass);
I can see that aDescendantClass is nil when RegisterClass(aDescendantClass)
is called when it should be TraCalcDialog.
Is this a bug in 6.03?
--
Paul Toms (mailto:paultoms@cix.co.uk)
Please create a a simple Delphi project and e-mail to
support@digital-metaphors.com in zip format. I will test this code with RB
7.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I think I have created a patch to RB 7.03 that will fix this issue.
Please e-mail support@digital-metaphors.com and request this patch, if you
are interested.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com