|
Previous Top Next |
Prototype: | (Long pFEQ,<Long pX>,<Long pY>,<Long pW>,<Long pH>) |
pFEQ | The Field EQuate label of the control to set position for. |
pX | The X coordinates for the control in pixels. |
pY | The Y coordinates for the control in pixels. |
pW | The Width of the control in pixels. |
pH | The 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: