Thanks a lot, you are right as always. Strange things is that windows change order in _screen.forms(x) when I minimize one. So since I was minimizing a window before restoring the other I was kind of skipping it.
>>Problem is that since the form is minimized it does'nt appear in _screen.forms(x). Or is it a bug in my programming?
>>
>>>>Hi, I'm using amain window with several forms. How do I bring a form to the front? I'm already using _screen.forms(x).windowstate to minize the forms but how do I bring them back?
>>>
>>>_scree.forms(x).show
>
>Minimized form is still inside _screen.form, so
>_screen.forms(x).windowstate=0 && restore form
>_screen.forms.show() && bring it up front
-------------
Jonathan Gauthier
Administrateur de bases de données
Programmeur-Analyste, bases de données
fastfwd@netc.netNet Communications
(514) 346-3401
ICQ: 7389446
-------------
"Summer is winter and you always knew"
Little Things - Bush X