ok i have a few textboxes and they have a "default" text.
when you put your cursor into the textbox how can i delete the text automaticaly.

see my picture to understand more

Recommended Answers

All 2 Replies

Add the following code to the on Click event of each of the comboboxes:

Me.ComboBox1.SelectedIndex = -1

Replace "ComboBox1" with the name of each comboBox.

thank you that helped so much... *****

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.