Determining menu height...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matthew Wells

    Determining menu height...

    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
    MWells@NumberCr uncher.com


Working...