<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 color="#cc0000"> ___/ / __/ / ____/</font> Ed Leafe ©2002 Ed Leafe |