Georges

Georges

  • NA
  • 1
  • 0

Create-Delete Toolstrip Buttons vb.net

Mar 11 2010 10:35 AM
Hello,
Your help is appreciated. In my vb.net app, i need to create and delete toolstrip buttons in run time. I like to get an efficient way of performing this task. Here is what I need:
1. user load app. Start with a toolstrip dropdown button which includes Add, Delete, Edit.
2. Start Adding Buttons (click even will perform various tasks. Basically saving twain scanmner profiles)
3. Could add up to 5 Buttons (Profiles). User should be prompt for a Text for the button.
4. Enable, disable Delete-Edit-Remove buttons based on Button Availibility.
5. Save Buttons name to an ini file for re-loading (I have ini saving code). I.E Button1=Colour, Button2=Black and White, etc...
6. during application start up,  Load ini settings and create any buttons if exists.
7. As i click delete, show the available buttons in drop down so i can select which one to delete. Offcourse, remove it after deletion.
8. Same for Edit Button, display available Buttons.

Your help is very much appreciated. Attached is a image of my Drop Down Button menu

Attachment: Profiles.rar