[Type your Name Here] (1 Viewer)

prabha_friend

Prabhakaran Karuppaih
Local time
Today, 18:10
Joined
Mar 22, 2009
Messages
784
Now a days I am seeing this kind of pre-supplied textboxes a lot.

What is the name of that property in .Net and Is there similar kind of property available in VBA Textboxes?
 

Ranman256

Well-known member
Local time
Today, 08:40
Joined
Apr 9, 2015
Messages
4,337
The [TYPE YOUR NAME], is usu for queries as a parameter.
If its in a textbox, it must be either:
The default value, txtBox.defaultvalue
Or
Assigned when the form opens:
TxtBox= "type your name"
 

TJPoorman

Registered User.
Local time
Today, 06:40
Joined
Jul 23, 2013
Messages
402
You can also use the format property of the textbox on a form to display the text then have it disappear when the box gets focus.

In the format property use: @;"Type Your Name Here"
 

Users who are viewing this thread

Top Bottom