Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exact object position
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00385253
Message ID:
00385813
Views:
9
>>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)

I can determine the center of the object but how do I know if it's the top or the bottom? Can the bottom center position of an object be represented with one number(coordinate)?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform