Results 1 to 2 of 2

Thread: About Form - Help

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301

    Thumbs up 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:
    1. Private Sub Sections_Change()
    2.  
    3. If Sections.Text = "Programmers" Then
    4.     Programmers.Visible = True
    5.     Testing.Visible = False
    6.     Thanks.Visible = False
    7. End If
    8.  
    9. If Sections.Text = "Beta - Testers" Then
    10.     Testing.Visible = True
    11.     Programming.Visible = False
    12.     Thanks.Visible = False
    13. End If
    14.  
    15. If Sections.Text = "Special - Thanks" Then
    16.     Thanks.Visible = True
    17.     Testing.Visible = False
    18.     Programming.Visible = False
    19. End If
    20.  
    21. 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.

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    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
  •  



Click Here to Expand Forum to Full Width