Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Determining menu height...
Old
  (#1)
Matthew Wells
Guest
 
Posts: n/a
Default Determining menu height... - 06-04-2007, 08:54 AM

I have a pop up menu in my frmMain (MDI) I use it when I click on a command
button which fires the "PopUpMenu" command. PopUpMenu lets me set toe "top"
coordinate, but the number of visible menu items can vary which changes the
top coordinate. I want to make the botton of the menu sit on top of the
button. I tried using a fixed number (255) * the number of visible menu
items, but that can change with different display themes. Is there a way to
get the menu height before it becomes visible? Maybe get the menu font size
from the display settings?

Thanks

Matthew Wells
EMAIL REMOVED


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top