|
I just downloaded Google Pack. It has a bunch of sweet free tools to make windows better and to help with development - all made by google.
|
Introduction
In Visual Basic, adding menus at runtime is handled in the exact same
way as adding any control at runtime. First you have to create a control
array at design time, then at runtime you just load the new controls into
the array. In this tutorial, I will show you all the steps to handle this.
I will first show you how to set up a menu control array at design time.
Next I will show you how to add more menus to your array at runtime.
Finally, I will show you how to handle the click events of all the menus
you add at runtime. I encourage you to open up a project in Visual
Basic, and follow along with me as I introduce you to this topic. Also, if
my explanations just aren't making sense, please download the code from
the link at the right. This should help you understand everything I am
trying to say. Next >> |
|