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

Windows Class: SetPixelPosition

Previous  Top  Next  


Prototype: (Long pFEQ,<Long pX>,<Long pY>,<Long pW>,<Long pH>)

 

pFEQThe Field EQuate label of the control to set position for.
pXThe X coordinates for the control in pixels.
pYThe Y coordinates for the control in pixels.
pWThe Width of the control in pixels.
pHThe Height of the control in pixels.

 

This method is basically identical to the Clarion SetPosition statement except it uses Pixel positioning rather than Dialog Unit positioning.  This allows you to precisely place a control or set the size of a control with one method call.

 

Example:

ITW  ITWindowsClass

Code

ITW.SetPixelPosition(?Button,100,50,75,25!! set size of ?Button to 100 pixels from left edge, 50 from top edge, 75 pixels wide and 25 tall.

 

 

See also:

SetPixelHeight

SetPixelWidth

SetPixelXPos

SetPixelYPos

SetPixelPos

 

 

 



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