On a Quite complex TDXForm (over 100 components in TdxLayout), a ScaleForPPi Call (in Form's Oncreate) takes 1.5 seconds.
Is This Normal ?
Is there any way to speed Up this task ?
On a Quite complex TDXForm (over 100 components in TdxLayout), a ScaleForPPi Call (in Form's Oncreate) takes 1.5 seconds.
Is This Normal ?
Is there any way to speed Up this task ?
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hello,
By default, our controls are scaled automatically according to the current monitor's scale factor. When you call the
ScaleForPPi
method, controls are recalculated, and the more controls, the longer it takes. Therefore, there is no specific way to increase performance in this use case.By the way, could you please clarify why your task requires calling this method manually? This information will help us in further development.
Hello Alex,
We do Not Use windows scaling (100%, 125% etc …) as different users in the same window session want to choose scaling at runtime (visually impaired persons).
So We have to Use ScaleForPPI on each dxForm at RunTime.
Is there any more efficient way to do that ?
Hello,
Thank you for the details. We completely understand the importance of handling such use cases.
Our controls are intended to use the current monitor's scale factor, and they are not adapted for manual scaling. Therefore, there is no specific way that would allow you to scale them faster. However, we would really appreciate it if you share forms that take a long time to scale. They would be useful for our work on performance in the future. Note that this thread is public, so you can share the requested forms in a new private ticket.
Ok, I create another Ticket