Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set date on Form

Status
Not open for further replies.

yummy7

Technical User
Jun 2, 2006
195
CA
I want to show date on the Form.For this I made controlsource property of textbox =Date().But the problem is whenever user clicks over it,it gets focus(blinking cursor on it).Where I want that it should not get focus and behave like label.
I think you got my point.Any suggestion is most appre ciated.
 
You can set the Tab Stop and Enabled properties to No.
 
Text box properties.
"Other" tab -- Tab Stop = No.
"Data" tab -- Locked = Yes.


Randy
 
behave like label
So, why a textbox instead of a label ?
You may set its Caption property in any form's event procedure you want.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanx you all.PHV post is the exact which I want.
Thankyou Once again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top