>>>>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.