Subject Re: [IBO] Scaleby in a form with a TIb_Grid
Author Apicito2003
scaleby is not a component, it's a method of the VCL
of Delphi: See Delphi Help:
"Delphi syntax:
procedure ScaleBy(M, D: Integer);
ScaleBy resizes a control without moving its upper
left corner. This is similar to changing the Heightand
Width properties, but the control also attempts to
rescale and rearrange any child controls to maintain
their relative size and placement.
The M and D parameters define a multiplier and divisor
by which to scale the control. For example, to make a
control 75% of its original size, specify the value of
M as 75, and the value of D as 100. Any pair of values
that has the same ratio has the same effect. Thus M =
3 and D = 4 also makes the control 75% of its previous
size.
To rescale the control’s children without rescaling
the control itself, use ScaleControls."
This method works well with all the component TIB_
except with TIB_Grid. Work well on the box of the grid
but not the text.
Thanks.

> I am using Scaleby in a form with a TIb_Grid. The
grid
> scale well but the text not. Why?

I have no idea. I've never used that component.
Please contact this scaling tool's support and ask
them about what it takes
to comply with their components. You may be able to
get into IB_Grid sources
and make the needed changes.
It probably is a matter of registering certain
properties with their tool so
it can control what it needs to control.

Jason


Yahoo! Groups Sponsor ADVERTISEMENT

___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to
Firebird or InterBase
without the need for BDE, ODBC or any
other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource
for Tech Info papers,
keyword-searchable FAQ, community code contributions
and more !

Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service.

_______________________________________________________________
Yahoo! Sorteos
¡Ya puedes comprar Lotería de Navidad!
http://yahoo.ventura24.es/