Lock a Field
Tissot David
Hi,I want to avoid user's writting on a Textedit field. Data for this TextEdit is sent with a formatted search, not by users.
I try that on form load :
string[] itemsToLock = new string[]{ "5" };
LockFields(pVal.Form, itemsToLock);
return true;That doesn't work, I can write on the Textedit field.
Regards
Paolo Manfrin
Hi David,I think you shoud handle the event OnItemChange. From the post you made is difficult to figure out the context where you're using such C# code.
Please could you post more detailed code for further inspection?
Thank You.
Paolo
0
Please sign in to leave a comment.
Comments
0 comments