Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overlapping Controls
Message
From
21/07/2002 01:05:47
 
 
To
21/07/2002 00:55:30
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00680841
Message ID:
00680849
Views:
29
>>>When first starting a form I have this:
>>>
>>>Form.PageFrame.Top = 150
>>>Form.PageFrame.Height = 173
>>>Form.PageFrame.BorderWidth = 1
>>>Form.CommandButton.Top = 326
>>>
>>>After I resize the form I have this:
>>>
>>>Form.PageFrame.Top = 283
>>>Form.PageFrame.Height = 326
>>>Form.PageFrame.BorderWidth = 1
>>>Form.CommandButton.Top = 615
>>>
>>>But the PageFrame is covering 1/3 of the button.
>>>
>>>What else is involved in the PageFrame.Height?
>>
>>What is the code you use to reposition the controls?
>
>I'm using 'CodeMine Stretchy-Resize Control', but what differenct does that make?

Because there's not anything obviously wrong with what you posted, nor is it clear how the location and sizes got into the state they're in. All this led me to think there was more information needed.

>PageFrame.Top+Height+(BorderWidth*2)=611
>CommandButton.Top=615

Yes. I've got that.

>Why does the PageFrame cover 1/3 of the button? The bottom of the PageFrame should be 4 points above the button, but it covers 1/3.
>I guess I'm asking how do I compute the bottom of a pageframe?

Top + height should do it.

I'll have to presume it's something to do with the codemine framework, which I don't use, so don't have access to the stretchy resize control.
Previous
Reply
Map
View

Click here to load this message in the networking platform