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

Write code - ReadOnly field

Status
Not open for further replies.

Dalarna

Programmer
Mar 8, 2010
22
0
0
SE
Hi !
Need some help ...again :)

Is it in the program code possible to write code to set the attribute ReadOnly on fields?

Example:
I have several fields in a form and when I shall make changes to the form, two fields should be ReadOnly.

Is it possible to write some code in Opening Window:
Case LocalRequest
of ChangeRecord
xxx Field1 xxxxx
xxx Field2 xxxxx
END
My question is, what should I write :)

From the snow in Sweden
/Magne
 
Hi,

you have to write

?Field1{PROP:ReadOnly} = True

Best Regards
cagiv
 
Hi !
Thanks!!
Can I also write code to SKIP the fields?
(Go to the input fields and skip the ReadOnly fields)
/Magne
 
Hi,

you can set PROP:SKIP for that.

Best Regards
cagiv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top