Free2Code
 
Time: 2008-11-21, 09:39pm
Command Buttons
Subject: Command Buttons  ·  Posted: 2005-07-02, 10:48pm
Rank: ? (1)
Member #: 24594
Im VERY new to VB and just learning some stuff.

Can i have an example of code that when you hit a button lets call it "cmdMonkey" it goes to Form2.


And is there a way to make a scrollbar with a list of 30 buttons, that display Msg boxes, so i dont have top make the form REALLY big, Ty

 
  Reply to this ·  Post link ·  Top
Subject: Re: Command Buttons  ·  Posted: 2005-07-27, 03:14am
Rank: ? (1)
Member #: 24839
Did you get to know the code mate, because i need it
 
  Reply to this ·  Post link ·  Top
Subject: Re: Command Buttons  ·  Posted: 2006-09-26, 05:47pm
Rank: ? (3)
Member #: 28625
First you add two forms
Form1
Form2

and a command Button on form1 Named cmdHit

Double Click on that button then it will go to in code

write follwoing code

form2.show
form1.hide




Masood

 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons