You could move your controls inside a Enhanced Group Box or Enhanced
Panel give that a componentid and turn everything off and on at the same
time by only giving the group a single Component ID. All it takes is the
Group and a button outside the group with the code below. 
 
SET VAR vTest TEXT = NULL
GETPROPERTY test ENABLED vTest
IF vTest = 'false' THEN
  PROPERTY test ENABLED 'TRUE'
ELSE
  PROPERTY test ENABLED 'false'
ENDIF
 
Make sure you start the from with the group turned off
 
PROPERTY test ENABLED 'false'
 
 
 
Victor Timmons
Tiz's Door Sales, Inc
Visit us at www.tizdoors.com <http://www.tizdoors.com/> 
 P Please consider the environment before printing this e-mail
 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Jim
Belisle
Sent: Wednesday, February 24, 2010 7:30 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Browse to Edit in a form



Karen,

 

I tried clicking on multiple fields so I could assign a componentid to
all the fields at once but I did not see that option when I right
clicked.

I ended up bringing up the fields one at a time and assigning the same
componentid to all the fields.

That was my experience, but I am a novice.

 

Jim

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, February 24, 2010 9:12 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Browse to Edit in a form

 

After I already have this big form designed (many tabs, many fields),
client decides he wants the form to come up in read-only mode and be
able to click an "edit" button to make the whole thing editable.   I
know I could bring the form up with "browse using", and have an "edit"
button close the form and reopen it with an edit.... But the form
already takes quite a long time to load and I don't think he'll be happy
with waiting for it to load again.

Is my only other option to assign the componentID to each field
one-by-one on the form?  No way to mass-assign the same componentID to a
bunch of fields, right?

Just want to make sure I'm not missing something I could be doing.
Trade-off on form loading time vs. programming time to do the compID
thing.  

Karen

Reply via email to