Hi maybe this can get you started,
place 4 buttons and a label on a form name the last button
'btnAllVisible' & the label 'lblFormat' then copy and paste this (code
between /* & */) to see what it does
/*
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Button3.Visible = False
Button2.Visible = False
lblFormat.Text = "Button 1"
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button2.Click
Button1.Visible = False
Button3.Visible = False
lblFormat.Text = "Button 2"
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button3.Click
Button1.Visible = False
Button2.Visible = False
lblFormat.Text = "Button 3"
End Sub
Private Sub btnAllVisible_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnAllVisible.Click
Button1.Visible = True
Button2.Visible = True
Button3.Visible = True
lblFormat.Text = "All buttons visible"
End Sub
*/
Greetz Peter
>>>>>>>>>>>>>>>>
In here you give some and get a lot in return
That's why this is such a good group
hi***************@gmx.at (Herfried K. Wagner [MVP]) wrote in message news:<c6************@ID-208219.news.uni-berlin.de>... * "Stefan Richter" <sp**@spammenot.com> scripsit: Hi, I just started working with MS Visual DotNET VB.
I know programming but VB not yet, and I am completly new to windows forms.
I want to write an application that consists of only one window,
and then there will be 3 different buttons, when you click on one,
then there comes the next selection, means that the old buttons need
to disappear - either by using the same window or by hidding the previous
window.
I tried that with MS Visual DoNet VB by using the Options you can select,
but the Problem is, that when a new windows comes up that it appear in the
exisiting window,
but below the old buttons - kinda weird!!!
Set the buttons' 'Visible' property to 'False' to hide them.