Pot Up
January 20th, 2011, 23:09
okay sio wasup guys,, just figured this by self, basicly i thoight about the way java worked and.. yeah, tryed to think how i can do somethign similar with this so..
this was my idea..
When i click options, it hides listbox one and the start button
i havnt thought what options do do yet.. but this is all done via the same button i promis :D
Only the registered members can see the link.
and... when i click "Go Back <-"
Only the registered members can see the link.
And ik the start button doesnt come back i just fixed.. and cba updating pic!
Okay.. so all you have to do is this:
Goto the code in your vb program look at the top is will say this
Public Class Form1
Under that type something similar to this:
Dim Selected As Integer = 0
NOTE: You can change "Selected" to w.e you like it doesnt matter!
ok so now to use the Integer..
Double click the button you want to do this with..
Now..
Type
If Selected = 0 Then
Selected = 1
Button2.Text = "Go Back <-"
ElseIf Selected = 1 Then
Selected = 0
Me.Text = "Options"
End If
Welll if you want a button to hide its:
Button1.hide()
To make it show:
Button1.show()
if your doing the code in this button Change "Button1" to "Me"
Simple!
Thanks
~potup
this was my idea..
When i click options, it hides listbox one and the start button
i havnt thought what options do do yet.. but this is all done via the same button i promis :D
Only the registered members can see the link.
and... when i click "Go Back <-"
Only the registered members can see the link.
And ik the start button doesnt come back i just fixed.. and cba updating pic!
Okay.. so all you have to do is this:
Goto the code in your vb program look at the top is will say this
Public Class Form1
Under that type something similar to this:
Dim Selected As Integer = 0
NOTE: You can change "Selected" to w.e you like it doesnt matter!
ok so now to use the Integer..
Double click the button you want to do this with..
Now..
Type
If Selected = 0 Then
Selected = 1
Button2.Text = "Go Back <-"
ElseIf Selected = 1 Then
Selected = 0
Me.Text = "Options"
End If
Welll if you want a button to hide its:
Button1.hide()
To make it show:
Button1.show()
if your doing the code in this button Change "Button1" to "Me"
Simple!
Thanks
~potup