Ted,

The objects are essentially just stacked on top of each other; there's no
specific layering assignment, no way to tell what is on top and what is
behind.  The best solution I've found when I have a stack of buttons is to
simply keep track of what is exposed and what isn't.

If you cannot approach your problem as a stack of objects where only one is
visible, then have a look at dynamic objects.  I believe that whenever you
create a new object it will be "in front."

Of course, all of the above assumes you are not using panels as containers,
e.g.  Even so, you can use a panel as the parent of a dynamic object and
control layering by controlling the visibility of the panel.

Emmitt Dove

Manager, DairyPak Business Systems

Evergreen Packaging, Inc.

[EMAIL PROTECTED]

[EMAIL PROTECTED]

(203) 643-8022

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Lienhard
Sent: Tuesday, June 10, 2008 12:39 PM
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