Thanks for the reply. But... I know that the 'extent.x' member of the
structure don't specify the bottom-right corner of the rectangle, if you are
trying to say so. But the problem is, as exposed in my original message,
that the function ALWAYS returns the same value, i.e.:

        rtObject.extent.x == 59

Ariel Ayala
Software Development
----- Original Message -----
From: "SLO Revo News" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, April 19, 2004 6:46 PM
Subject: Re: Width of an object


> >  To calculate the width,
> >I suppose I can do:
> >
> >         uiWidth = rtObject.extent.x - rtObject.topLeft.x;
>
> The extent IS the width in pixels, not the right-hand pixel location.
>
> --
> Regards,
> Steve Mann
> ---
> steve-at-slorevo.com
> Available for Contract Work
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to