|
-
February 25th, 2000, 04:04 PM
#1
Enable Menu items
I have a form that has Textbox a CommandButton and a ListView and a pull down menu, in the pull down menu I have (Add,Modify, Delete and Exit), I am trying to have the menu items (Modify and Delete) to be enabled and disenable acording to the fact there is an item selected in the ListView. Can someone tell which is best place to put the function that enable and disable the menu item?
-
February 25th, 2000, 09:15 PM
#2
Re: Enable Menu items
My vote is to place the code either in the 'Click' event for the ListView, or in the 'ItemClick' event.
Using the latter, you should be able to determine whether or not an item is selected.
Good luck...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|