Ted,

Emmitt is right.  Let's say you have 4 objects.

When you make object1 visible, make the others invisible

PROPERTY ci_object1 VISIBLE 'TRUE' -- object1 is visible
PROPERTY ci_object2 VISIBLE 'FALSE'
PROPERTY ci_object3 VISIBLE 'FALSE'
PROPERTY ci_object4 VISIBLE 'FALSE'

Then, when you switch to object2...
PROPERTY ci_object1 VISIBLE 'FALSE
PROPERTY ci_object2 VISIBLE 'TRUE' -- object2 is visible
PROPERTY ci_object3 VISIBLE 'FALSE'
PROPERTY ci_object4 VISIBLE 'FALSE'

Etc...

Claudine

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Lienhard
Sent: Tuesday, June 10, 2008 11:39 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Sending Objects to Back/Bringing Objects to Front

Is there a way to tell what "layer" an object is in on a form?  I have
several objects that are placed on top of each other, specific ones are
called by an EEP, enabled and made visible.  A problem arises when the
desired object is behind the desired object when it is enabled and made
visible.  I need to assign different objects to different layers in order to
preserve the appearance of the form to the user.
 
>From what I can tell, the send_to_back / bring_to_front functions are in
layers, like an Autocad object, not just binary (either front or back). 
They also seem to follow a FIFO pattern; When object "A" is sent to back
first, it is at the lowest layer...then, when a second object ("B") is sent
to back,  it becomes the lowest layer, and "A" is moved towards the front by
one layer.  Send object "C" to back, and it is now the lowest layer , with
"B" moved up one layer and "A" being the top layer.  
 
Is there a Getproperty command which would reveal the layer?  A property
command to assign the layer?  I am trying to "shuffle" the order of objects,
but am getting inconsistent results.
 
Any ideas or input are appreciated!
 
Best Regards,
Ted
 
Ted Lienhard CNE NCT
Golden Valley Consulting


Reply via email to