Subject Re: Want to constraint focus in the current Form
From Tim Ward <tim@goldengrovenurserydotcodotuk>
Date Thu, 15 Sep 2022 07:28:01 +0100
Newsgroups dbase.getting-started

On 15/09/2022 07:07, Milind Nighojkar wrote:
> Secenrio :
> 1.Hv opened main form.
> 2.To get  one of its filed input another sub form is opened. This sub form is smaller than the main form...
>
> Requirment : Till the valid input is entered in subform how focus can be contrained in the sub form?
>
> Any suggestions?
>
> Regards
>
> Milind Nighojkar
Hi Milind,
If you open the sub form with readmodal() and set the sub form mdi =
false, you shouldn't then be able to access the main form until the sub
form is closed. It acts in the same way as a msgbox.
Tim