|
-
Jan 5th, 2009, 12:15 AM
#1
[RESOLVED] List box + button help
I currently have a List Box that, when an item is clicked, the information that I have written for it is displayed in a text box below it,
Code:
If List1.SelectedIndex = 0 Then
Text1.Text = "Test"
End If
I wanted to know if I could do the same thing with buttons. So, if I were to click on the list item with value "0", I want a specific button to show up. Or item value "1" and a different button takes it's place. I think you all understand where I'm going with this.
I thought that I could use the same thing, but instead of Text1.Text, maybe an indicator linking the button. I just wasn't sure how to do that or if that needed to happen.
Thanks
Last edited by weirddemon; Jan 5th, 2009 at 01:17 AM.
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
|