main logo
Subject: RE: FOR EACH...ENDFOR
Author: "Barry Childs"
Posted: 2004/07/31 14:55:46
 
View Entire Thread
New Search


Essentially, you are changing the ZOrder. For-Each statements loop
through objects based on their ZOrder within each layer. This can be
changed programmatically but is initially stored in the order that the
objects were placed on the form.


Barry Childs
Programmer Analyst, Sr.
Select Portfolio Servicing, Inc.
Phone: (801) 293-2569
eMail: barry.childs (AT) selectservicing D.OT com

-----Original Message-----
From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces (AT) leafe D.OT com]
On Behalf Of Virgil Bierschwale
Sent: Friday, July 30, 2004 8:31 AM
To: profoxtech@leafe.com
Subject: RE: FOR EACH...ENDFOR

There actually is an easier way also.
On the forms, do the "Bring to front" button AFTER selecting all.
Then I think the button is called "Reorder" or something like that.

It will reorder all the objects starting at the top left, working from
left
to right, row by row.


Virgil Bierschwale
http://www.itspasttime.org


-----Original Message-----
From: profox-bounces (AT) leafe D.OT com [mailto:profox-bounces@leafe.com] On
Behalf
Of Gene Vital
Sent: Friday, July 30, 2004 9:25 AM
To: ProFox Email List
Subject: Re: FOR EACH...ENDFOR

If you look at the SCX I think you will find that the order of
the
records will be the same as the order that you put the controls on the
form.

Dominic Burford wrote:

>Problem solved. I removed the controls from the form, saved the form,
>re-opened the form and then re-added the controls in their tab sequence

>order. The FOR...EACH construct was respecting the order in which the
>controls were added to the form. By re-adding them to the form I have
>changed the order in which FOR...EACH construct accesses them. Simple!
>
>Thanks to Andy Weiss for helping to confirm the idea.
>
>



[excessive quoting removed by server]


 
©2004 Barry Childs
<-- Prior Message New Search Next Message -->