>What determines the order of the Forms Array? Example:
>
>1: Form1
>2: Form2
>3: Form3
>
>and if I open a new form, Form3 moves to the 4th element and the new form goes to the 3rd element.
Mike,
AFAIK they're enumerated by their activation order, LIFO style, last in first out.
do form form1
do form form2
do form form3
do form form4
forms(1) = form4
forms(2) = form3
forms(3) = form2
forms(4) = form1
Click on formN (or show-activate) and it becomes forms(1), others are pushed in stack till formN's old position is filled. That's if you call :
_screen.forms(3).show
forms(1) = form2
forms(2) = form4
forms(3) = form3
forms(3) = form1
Other than providing a way to know form visit order I don't know how could it be reliable (thanks all collections don't behave same :).
Cetin