Jump to content

Help With Vb


intel_inside

Recommended Posts

im sort of new to visual basic(taking a course at school)...but im having a problem with this program from the book...is there any way i can generate a text box when the prgram is run...can that be done ?

Share this post


Link to post
Share on other sites

make a textbox where you want it. Set the visible property to false

 

on the form load event do something like this....

 

textbox1.visible = true

 

 

Then when the form loads it'll make the textbox pop up. You can change this around for any other form you may have.

 

 

If you want it to totally create a whole new textbox then you'd have to go under the form load event and do a couple things

 

dim newtextbox as textbox

then set the dimenions, position.

 

IMO, I think the first way is much faster and easier. But it all depends on what you are doing with your program.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...