Buttons switching in between functons

Posts 1–3 of 3 · Page 1 of 1
Buttons switching in between functons
I need help changing functions
EXP:

When you click a buton it does one thing and when you click it again it does the opposite can you help

Im using VB 08
@[HP]Unique
I Use delphi but i think if u do like this, work:

Create 2 buttons with same caption size and coordinates, then send button2 back and set it visible to false.


----BTN1----
Code:
Your Function;
Button1.Visible:=False;
Button2.Visible:=True;
----BTN2----
Code:
Your Function Reverse;
Button1.Visible:=True;
Button2.Visible:=False;
Quote Originally Posted by AlexRoid View Post
@[HP]Unique
I Use delphi but i think if u do like this, work:

Create 2 buttons with same caption size and coordinates, then send button2 back and set it visible to false.


----BTN1----
Code:
Your Function;
Button1.Visible:=False;
Button2.Visible:=True;
----BTN2----
Code:
Your Function Reverse;
Button1.Visible:=True;
Button2.Visible:=False;
yah i kinda figured this out but why do i need 2 buttons when i can have 1 QQ
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us