Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exact object position
Message
From
27/06/2000 16:39:40
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00385253
Message ID:
00385382
Views:
11
>>Can you determine the bottom center position of an object on a form given it's left,width,height and top positions?
>
>Yes.
>
>>When given the top position, is the left position relevant?
>
>Yes with respect to your first question.
>
>Y = This.Top + This.Height
>X = This.Left + (This.Width/2)

What if the object is within a container? Wouldn't you have to adjust for that?
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform