TppScreenDevice.ScaleX and ScaleY inVersion 12?
Hello,
we are using some self written controls in our reports have have updated
from version 11 to version 12 now.
When recompiling our application i noticed that in version 11 there were
2 properties "TppScreenDevice.ScaleX" and "TppScreenDevice.ScaleY" that
are not longer part of the class "TppScreenDevice" in version 12.
That leads to some problems with our self written controls because they
are using these properties for internal size calculations.
Can you give me a hint why these properties disapeared in the new
version and what i can do to get the same information for our internal
calculations?
Thanks in advance,
Ralf
we are using some self written controls in our reports have have updated
from version 11 to version 12 now.
When recompiling our application i noticed that in version 11 there were
2 properties "TppScreenDevice.ScaleX" and "TppScreenDevice.ScaleY" that
are not longer part of the class "TppScreenDevice" in version 12.
That leads to some problems with our self written controls because they
are using these properties for internal size calculations.
Can you give me a hint why these properties disapeared in the new
version and what i can do to get the same information for our internal
calculations?
Thanks in advance,
Ralf
This discussion has been closed.
Comments
For RB 12 we refactored the TppScreenDevice and created the descendant
TppGraphicsDevice. This was to leverage the drawing capability of the
screen device to be used with the new image devices that were added.
While doing so it was realized that for screen renderings, there is no
need for both a ScaleX and ScaleY property. These have been replaced by
the Scale property.
In your code, performing a replace all for ScaleX and ScaleY (to Scale)
should fix the issue.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for that info!
Ciao,
Ralf