Click here to Skip to main content
15,888,006 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: GDI+ problem? [modified] Pin
Luc Pattyn25-Jun-09 4:36
sitebuilderLuc Pattyn25-Jun-09 4:36 
Questiontree view node click event Pin
bhargava240925-Jun-09 0:11
bhargava240925-Jun-09 0:11 
AnswerRe: tree view node click event Pin
dan!sh 25-Jun-09 1:11
professional dan!sh 25-Jun-09 1:11 
GeneralRe: tree view node click event Pin
bhargava240925-Jun-09 1:16
bhargava240925-Jun-09 1:16 
GeneralRe: tree view node click event Pin
Jon_Boy25-Jun-09 1:39
Jon_Boy25-Jun-09 1:39 
GeneralRe: tree view node click event Pin
bhargava240925-Jun-09 1:59
bhargava240925-Jun-09 1:59 
GeneralRe: tree view node click event Pin
bhargava240925-Jun-09 2:00
bhargava240925-Jun-09 2:00 
GeneralRe: tree view node click event Pin
Jon_Boy25-Jun-09 2:08
Jon_Boy25-Jun-09 2:08 
Your code looks like it should work. Check the visible property (should be true) on the button controls in the group box to see if visible = true. If not, you'll need to change that at design time or during run time looping the groupbox's control collection.

Quick test app you can do.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    'add a group box and stuff with button controls
    For Each ctl As Control In GroupBox1.Controls
        ctl.Visible = True
    Next

    GroupBox1.Visible = False
End Sub

Private Sub TreeView1_AfterSelect(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeViewEventArgs) Handles TreeView1.AfterSelect
    If e.Node.Index = 5 Then
        GroupBox1.Visible = True
    End If
End Sub


"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

GeneralRe: tree view node click event Pin
bhargava240925-Jun-09 2:27
bhargava240925-Jun-09 2:27 
GeneralRe: tree view node click event Pin
dan!sh 25-Jun-09 1:59
professional dan!sh 25-Jun-09 1:59 
QuestionLink dialog (Hyperlink) Pin
jinxster24-Jun-09 15:37
professionaljinxster24-Jun-09 15:37 
AnswerRe: Link dialog (Hyperlink) Pin
Christian Graus24-Jun-09 16:20
protectorChristian Graus24-Jun-09 16:20 
GeneralRe: Link dialog (Hyperlink) Pin
jinxster24-Jun-09 19:05
professionaljinxster24-Jun-09 19:05 
QuestionUse same DLL instance accross separate applications Pin
jwhite638824-Jun-09 11:42
jwhite638824-Jun-09 11:42 
AnswerRe: Use same DLL instance accross separate applications Pin
Christian Graus24-Jun-09 15:12
protectorChristian Graus24-Jun-09 15:12 
GeneralRe: Use same DLL instance accross separate applications Pin
Jon_Boy25-Jun-09 1:29
Jon_Boy25-Jun-09 1:29 
QuestionGetting pixel colors in VB.NET Pin
vidguy24-Jun-09 5:23
vidguy24-Jun-09 5:23 
AnswerRe: Getting pixel colors in VB.NET Pin
0x3c024-Jun-09 5:38
0x3c024-Jun-09 5:38 
GeneralRe: Getting pixel colors in VB.NET Pin
vidguy24-Jun-09 6:03
vidguy24-Jun-09 6:03 
Questioni want code please someone help Pin
harieshkumar.n24-Jun-09 2:28
harieshkumar.n24-Jun-09 2:28 
AnswerRe: i want code please someone help Pin
Jon_Boy24-Jun-09 2:38
Jon_Boy24-Jun-09 2:38 
GeneralRe: i want code please someone help Pin
Sk9324-Jun-09 3:02
Sk9324-Jun-09 3:02 
JokeRe: i want code please someone help Pin
Christian Graus24-Jun-09 10:39
protectorChristian Graus24-Jun-09 10:39 
GeneralRe: i want code please someone help Pin
Steven J Jowett25-Jun-09 0:38
Steven J Jowett25-Jun-09 0:38 
GeneralRe: i want code please someone help Pin
Jon_Boy25-Jun-09 1:31
Jon_Boy25-Jun-09 1:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.