>Is there some other way to accomplish this task ?
>
Hi Walter,
If you use the shortcut designer to create a shortcut menu and attach it to the commandbutton's click() event, the menu will pop up above or below the command button depending on the amount of room on the form without your having to calculate anything.
Is this a possibility for you?
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.