Topic: Work 2 forms at the same time

Work 2 forms at the same time.
how can I do?

Domebil

Re: Work 2 forms at the same time

Hello domebil,

If you use the MVD bouton to open a form from a button click, it is like writing :

     Form2.Shomodal;

The modal term means the new form opening has focus and you can not open another form until this one is closed.


If you want to open a form but with the possibility to open another one, had the following code manually to a OnClick event of any button :

    Form2.Show;

That way, Form2 is displayed but does block you from opening another form.


Caution though... if you open multiple form targeting the same record, you might face synchronisation problems while saving infor from a form and not having them updated on other opened forms.


Hopefully this makes sens, I am not quite awake yet smile


Math

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor

Re: Work 2 forms at the same time

Grazie! mathmathou

Domebil