Entries in faq (1)

Friday
Mar232012

Apesuite Beta 5 - Upgrade FAQ

 

Here are some Frequently Asked Questions about the Apesuite Beta 5 update...

Q:Upon trying to install the DesignTime package, I get the following: [DCC Fatal Error] Ape.Controls.Flow.Designtime.Form.pas(1): F2084 Internal Error: AV0776A5BF-R000000C7-0.  What can I do to fix?

A: This is an internal error in Delphi XE2 that occurs when trying to rebuild a designtime package when the interface of the runtime package has changed.  You should be able to fix by first running "Clean" on the designtime package and then "Clean" on the runtime package, then build the Runtime Package and Designtime package in that order.  Once things compile, then restart delphi and if the components are not visisble in the component pallete, run install on the designtime package.  

Q: Will Update 5 work in Delphi XE2, update 4?  I recall there were some issue you’d blogged about.

A: There were reports of problems specific to TSVG in XE2 Update 4.  Those issues have not yet been retested with this update.  We are preparing to do a full test on the Update 4 and fix any outstanding issues, but if you are not using TSVG please do consider trying this beta 5 on Update 4.  

Q: If I try to open the Runtimelayout demo I get all sorts of warnings about wrapmode property not being available...

A: Be sure to download the latest Demo source code from the link provided in your email.  It sounds like you did not update the RuntimeLayout demo source code and therefore have some old properties hanging around in the fmx files.

Q: What is the toolbox component is used for?

A: The Toolbox is a container component used in conjunction with the TPagebar and TPageItem components.  You can see how they are used in the RuntimeLayout demo, but the basic scheme is this.  A TPagebar implements the Ribbon-style container.  Add a page to the TPageBar and you get a TPageItem.  In the TPageItem, add multiple TToolbox components, one for each ribbon-style group that you want in the ribbon-style page.  Then drop your edits, buttons, combos, etc in the appropriate toolbox.

Q: I'm trying to apply a style to a lightbox and am getting an access violation. 

A: We make several assumptions about the style used for the lightbox and if those assumptions are not met with your custom style, then AV's could occur.  The best way to ensure that our assumptions are met are to use the Load... feature in the style editor to load the Ape.Controls.win.style file and examine the style from there.  Make sure that whatever style you are building maintains the control heierarchy and has style names that match the template controls.  The style elements you use should also be TControl descendants, in particular regarding the Shade and Form base components.

If those rules are met, styling should work flawlessly.

Q: The close button is not appearing in the lightbox.  What can I do to fix?

A: We use SVG icons in our default lightbox style and therefore require the Ape.Controls.SVG unit to be in the uses clause of your forms.  Apparently Delphi XE2 is not smart enough to know the units required by the style in addition to those required by the component.  At this time you will manually have to add it to your uses clause until we can figure out a work-around.