>>>Has anyone ever used ZOrder for nOrder values other than 0 or 1? If so, how do you assign values?
>>
>>
>>ZOrder only supports 0 and 1 AFAIK.
>>
>>I've found (by accident) that using the Send To Back and Bring To Front options at design time changes the object instantiation order.
>>It's like ZOrder but you control the instantiation order and therefore can cause problems if the INIT() of one control calls another control's method.
>>
>Yes, I think it's only 0/1, though I tried other integers with mixed success -- some objects gave error, some didn't. But even when they didn't kick back error, I wasn't sure how to use them or if they were any use at all (probably not).
>
>I don't need really need any INIT actions, I just want to rearrange a stack of open forms in formset several different ways during runtime. I guess I can build my own methods for doing this, perhaps using ZOrder(0) in successive calls...
Possibly you can issue Zorder(0) or Zorder(1) for all overlapping objects to arrange them in necessary order.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison