| Subject |
Re: Want to constraint focus in the current Form |
| From |
Akshat Kapoor <akshat.kapoor@kapoorsons.in> |
| Date |
Thu, 15 Sep 2022 15:30:48 +0530 |
| Newsgroups |
dbase.getting-started |
Good Afternoon Milind,
> 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?
>
Just Expanding on Tim's reply.
There are two ways to open a readmodal form.
Simplest is
do xyz.wfm with true
Or modify the header of the wfm
local f
f = new e_sales2form()
f.mdi = false // ensure not MDI
f.readModal()
f.release()
return
** END HEADER -- do not remove this line
Any code placed above the end header line is not touched by the designer.
I use both the options depending at the liking of the moment.
Regards
Akshat
|