Jump to content

What is the code for an empty textbox


Recommended Posts

I'm new to Visual basic and going through a set of beginner tutorials.

I've made a form with textboxes.

Question: When I scroll through all the textboxes and return to the first one - how do I write the code to say "clear the box and make it empty"

I think it's an If..else statement but after days of frustration and searching online, I still can't find the answer!!

Regards,

Steve

Link to comment
Share on other sites


slect text box and see the properties

In VB 6.0 remove existing text from Caption property.

In VB2005 remove exsiting text from Text property.

Edited by neo_matrix.rs
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...