Expanding Toolbar to hold more Components
Hi,
When registering a new component on a Toolbar (ppRegisterComponent), the
toolbar stays the same size as before, thus hiding one of the default
components in order to make place for the new one.
How do I get over this?
Using RBuilder 6.03, descending from TppRegion.
-Jack
When registering a new component on a Toolbar (ppRegisterComponent), the
toolbar stays the same size as before, thus hiding one of the default
components in order to make place for the new one.
How do I get over this?
Using RBuilder 6.03, descending from TppRegion.
-Jack
This discussion has been closed.
Comments
It should expand. Did you unregister a component? The register call contains
the position where the component should go in the toolbar. I also have a
region descendent to play with. What does you register call look like- I can
try it on mine to see what happens.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
ppRegisterComponent(TVarAwareRegion, 'Advanced Components', 10, 0,
'VarAwareRegion', HInstance);
I do not unRegister any other component, (do I have to).
-Jack
ppCTDsgn in your uses clause. Adding this adds crosstab support to the
designer at runtime. This would mean that the new region component shows up
inthe place where the crosstab component normally shows up. When I add
ppCTDsgn, the new region adds itself to the right of the crosstab, using
your register call.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
-Jack