HighTechTalks DotNet Forums  

Add menu items on the fly?

VB.net Controls microsoft.public.dotnet.languages.vb.controls


Discuss Add menu items on the fly? in the VB.net Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Kalkidas
 
Posts: n/a

Default Add menu items on the fly? - 09-29-2009 , 05:07 PM






I'm trying to create a "recent files" list in the File menu of a notepad-type project. I have a submenu named "RecentFilesTSM" (tool strip menu item) and I want to add submenus displaying file names to that.

How to add the submenu items on the fly, as each new file is loaded?

VB.net 2008 express

Reply With Quote
  #2  
Old   
Kalkidas
 
Posts: n/a

Default Re: Add menu items on the fly? - 09-29-2009 , 06:55 PM






"Kalkidas" <eat (AT) joes (DOT) pub> wrote

I'm trying to create a "recent files" list in the File menu of a notepad-type project. I have a submenu named "RecentFilesTSM" (tool strip menu item) and I want to add submenus displaying file names to that.

How to add the submenu items on the fly, as each new file is loaded?

VB.net 2008 express

Never mind, figured it out.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.