Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top-Level Form Menu Presence
Message
From
12/03/1999 13:23:14
 
 
To
12/03/1999 12:27:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00196872
Message ID:
00196919
Views:
25
>>>>Well, I didn't get a single response so I'm reposting cause I know someone's got to have an answer for this. :-)
>>>>
>>>>How can you programmatically determine if a top-level form has a menu instantiated in it?
>>>
>>>I don't quite understand the purpose of this, but menu builder still allows to put some code to menu Setup procedure, so you may just reset some oApp.property there and check it later.
>>
>>I am creating a class which has to position itself over a specific spot on a form, so I have to know whether to allow for the menu height or not in top-level forms.
>>
>>Bill
>
>I thought that menu will shift all controls and their Top properties the same way, i.e. it will not affect relative location of controls if they are part of form's container. Or your object is not going to be part of form's container? You may still use some custom topform.property to check.

Problem is, this will be a small form hovering over the main form at a specific location. And since this is a self-contained class, it has to determine parameters without knowing ahead of time what is available.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform