Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find height of toolbars
Message
From
06/01/2005 01:22:28
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
05/01/2005 11:26:04
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00974203
Message ID:
00974607
Views:
31
Hi
See my DatePicker control . Download #25398


>Barbara
>
>Sorry for the confusion. Let me see if I can explain what I am trying to do.
>
>I have a date control on form1 that has a button beside it to pop up a calendar. The calendar ocx is in another form that I would like to position underneath the date control. By adding the form1.top+objtoclient(datecontrol)+datecontrol.height to the calendarform.top I don�t get to where I want to be. It also seems to be different if the datecontrol is on a pageframe. How do I calculate the calendar top value?
>
>Thanks.
>
>
>>>Barbara,
>>>
>>>The form1.top value has nothing to do with form2.top. I need to find where to set form2.top so it will be positioned where I want it over form1.
>>>
>>
>>That still doesn't answer my question as to why you're asking about _screen.height. Whether a toolbar is visible or not, I've found that if you set form2's Top property to Form1's Top property-4, they'll line up.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform