IonicWind Software

IWBasic => General Questions => Topic started by: paja on June 02, 2009, 10:36:45 PM

Title: ID position ?
Post by: paja on June 02, 2009, 10:36:45 PM
Hi,

How can i read the x,y position of any ID (Button) in window ?

Title: Re: ID position ?
Post by: SnarlingSheep on June 03, 2009, 03:27:34 AM
Use GETSIZE:

GETSIZE <window handle>, L, T, W, H,<Button ID>

Example:

DEF L,T,W,H  as INT
GETSIZE myWin, L, T, W, H, 1

'L' and 'T' will hold the x,y position you are looking for.