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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen Cursor in Read-Only form fields

Status
Not open for further replies.

Ashr

Programmer
Apr 19, 2005
46
0
0
HU
I have a form with fields , some of the fields r Read-only , when moving around the form the cursor is going into fields which r Read-only , can I prevent the cursor going into those field ????

Thank's
 
In the When clause of each of these fields:

RETURN .F.


Jim
 
Thank's jimstarr it's working fine.
 
You can also consider changing the property of the fields (txtField1.Enabled = .F.). This way cursor would not go to these fields at all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top