|
-
Sep 6th, 2003, 03:13 PM
#1
Thread Starter
Hyperactive Member
About Form - Help
Ok, I am making a Binary Chat bot for Battle.net/BNETD Chat Servers. I was Making a About Form, to show who Helped me/What Scripts and functions i used.
I Have a Combo Box Called Sections, With
Programmers
Special - Thanks
Beta - Testers
In the List.
I Have another Combo Box With The Names, Listed Under Each Topic. I Was trying to make it so Like, If the User Picks Programmers, Out of the Sections Drop Down, A Frame Is UnHidden, I have 3 Frames, i want Hidden/Show.
Programmers
Testing
Thanks
Than After the Frame is UnHidden, They Choose a Name from the list. It then tells them what they did via a label.
Right now, i'm just trying to get the Programmers, Testing, Thanks Frames to Change.. But it's not working.. This is my Code so far:
VB Code:
Private Sub Sections_Change()
If Sections.Text = "Programmers" Then
Programmers.Visible = True
Testing.Visible = False
Thanks.Visible = False
End If
If Sections.Text = "Beta - Testers" Then
Testing.Visible = True
Programming.Visible = False
Thanks.Visible = False
End If
If Sections.Text = "Special - Thanks" Then
Thanks.Visible = True
Testing.Visible = False
Programming.Visible = False
End If
End Sub
I think that should work... But it doesn't
Any Help and or Suggestions with This, Or My anything else relating to my about form, Would be Greatly Apreciated
Last edited by BaDDBLooD; Sep 6th, 2003 at 03:19 PM.
-
Sep 6th, 2003, 04:41 PM
#2
Frenzied Member
Tried a little test, and it seems that the Change event happens when the text of the combo box changes by typing into it, not when it changes by selecting an item.
The Click event happens when select an item, so maybe that's what you want. Strangely enough, clicking on the combo box doesn't generate the Click event, just selecting an item.
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
|