<i><font color="#663300"><i><font color="#663300">As discussed previously the properties form does not refresh after reordering of the zOrder, until the form is closed and reopened.
Fix: Add the following to the QueryUnload Event, immediately following the zOrdering code just moved from the Release Method (see above).
*-- Force Properties Form Refresh IF WVISIBLE("Properties") RELEASE WINDOW "Properties" ACTIVATE WINDOW "Properties" ENDIF</font></i>
Well, that certainly makes the listing in the prop sheet look better, but it doesn't save the re-ordering. Do the following: make the changes that you've described to the builder. Now open a form that has a bizobj on it. Position the bizobj so that it partially overlaps a control; this makes it easy to see its zOrder. Use the menu to do a "Bring To Front" so that the bizobj is on top. Close the form.
Now re-open the form. The bizobj should still be on top. Make sure that the Prop sheet is open, and inspect its position in the object list - it should be way down at the bottom. Run the modified builder on it, and close the builder. You'll see the prop sheet flicker, and if you inspect the object list, it appears as though the bizobj is now at the top. Looking at the form, it also appears that the bizobj has been sent to back, as expected. But all is not as it seems!
Close the form, saving changes. Re-open it. The bizobj is back in front, and is listed back at the bottom of the prop sheet. So while this looks like a fix, it suffers from the same lack of permanence. </font></i>
Yes MY checking assumed that the properties form ALWAYS reflected what would be saved. In this instance this is not the case. Is this a clue why after reordering via the format button the properties form was not updated by the M$ team?
It would seem that setting zOrder programatically only affects the current graphic representation of the layering but does not affect the "Real" object order. Whereas the Send to Back calls a routine that affects the "Real" object order but does not affect the graphic display order.
Does any one know the name of the routine that is called from the Format>>Send to Back menu bar.
©2002 Geof whitham |