www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Windows Class: ResizeControlForDPI

Previous  Top  Next  


Prototype: (Long pFEQ, <Long pDesignDPI>)

 

pFEQField EQuate label of the control to resize

 

[pDesignDPI]The design DPI of the target.

 

This method resizes the passed control with the ratio of either the DPI Ratio as calculated by GetScreenDPIRatio or based on the pdesignDPI.  This can be used to aid in resizing controls to work with different DPI resolutions.

 

Example:

 

ITW  ITWindowsClass

Code

ITW.ResizeControlForDPI(?List1)

 

See also:

GetScreenDPIRatio

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/resizecontrolfordpi_window.htm