The .RBTI_Form_Mode  variable will tell you whether the form was brought up in 
"enter" or "edit" mode.

What I do is to make the entire table read-only, rather than individual fields:

IF RBTI_Form_Mode = 'edit' THEN
   PROPERTY TABLE read_only 'true'
ENDIF

 
(I'm not at my regular computer so I can't be sure that syntax above is 
correct, going out of memory)

Karen

 

 

-----Original Message-----
From: Matthew Brock <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Fri, Feb 28, 2014 11:22 am
Subject: [RBASE-L] - Enter/Edit - Read only or not



I am converting an older version of Rbase to 9.5.
In the old version of a form, you had a way of making a field only be able to 
be changed if in enter mode and when in edit mode the value could not be 
changed. 
Is there a simple way to do this in 9.5 or do you have to read the form 
property type ie(edit/enter/browse) and then set the property for the control 
to be readonly or not?
 

Thanks,
Matthew D. Brock




Reply via email to