|
-
Dec 11th, 2000, 05:02 PM
#1
Thread Starter
Junior Member
Does any one know how to make a popup button appear right of an object that is clicked?
The following code makes the popup button appear just below the object that is clicked:
frmMenu = the form where the original menu has been placed
mnuFile = name of the menu that is going to be popped up
cmdFile = the command button to be pressed so the popup button appears
PopupMenu frmMenu.mnuFile, 0, cmdFile.Left, cmdFile.Top + cmdFile.Height
So again, if someone can be real helpful and tell me the code that can make the popup button appear just right of the cmdFile button when it is pressed.
Thank you. Also, if you can be so kind as to explain how one comes up with such numbers or ways to make it so I could make the popup button appear just up, left, diagonal whatever. But most importantly, I need the code to make it appear right of the command button. Thank you very much!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|