none
IO Extension or SB Ide++ IOForms.AddMenuItems. Can SubMenuItem be added to a SubMenuItem? RRS feed

  • Question

  • Gungan,

    With the IOForms.AddMenuItems function is it possible to add a submenu item to a submenu item? I can't figure out how if it is. Say you have 'File' for the main menu item. Then, later you have 'Print' for a submenu item. Under print is 'Print Preview' and 'Print Text'? With that you can't select 'Print', but you can select 'Print Preview' or 'Print Text'. If it's possible can you explain how to do it?

    Thanks,

       

    File

    New

    Open

    Print

       Print Preview

       Print Text

    Exit


    JR

    Saturday, May 31, 2014 6:19 PM
    Answerer

Answers

  • Sorry, but this isn't possible in the current version of the I/O Extension. I will add it to my to-do list though... seems like a useful feature!

    Please mark any answers and "vote as helpful" any posts that help you!

    Wednesday, June 4, 2014 3:19 AM
    Answerer

All replies

  • Sorry, but this isn't possible in the current version of the I/O Extension. I will add it to my to-do list though... seems like a useful feature!

    Please mark any answers and "vote as helpful" any posts that help you!

    Wednesday, June 4, 2014 3:19 AM
    Answerer
  • LOL I just looked at the source and this is possible... guess I don't know my own code very well =)

    You are looking for 

    MainMenuAddItem(ItemName, SubItemName, SubItemIcon, Checked)
    

    Please mark any answers and "vote as helpful" any posts that help you!

    Wednesday, June 4, 2014 3:22 AM
    Answerer
  • Gungan,

    From above it shows 'ItemName' which would be like 'File' in my example above. Then 'subitem' which would be like 'Print' from above, but what I was wanting is when I click on 'Print' it would open up the other 2 'subitems' which are 'print preview' and 'print text'. That's what I can't get it to do.

    Thanks,


    JR

    Wednesday, June 4, 2014 8:01 AM
    Answerer