| Subject |
Re: Want to constraint focus in the current Form |
| From |
Milind Nighojkar <milinigh@yahoo.com> |
| Date |
Thu, 15 Sep 2022 13:41:10 -0400 |
| Newsgroups |
dbase.getting-started |
Hello Akshat,
Problem is resolved I used
form.formname.rowset.refreshcontrols()
Milind Nighojkar
Milind Nighojkar Wrote:
> Hello Akshat
> Thanks for the reply.
> Both works
> However when I return to main form which is a grid form (in which I am getting Date input thru subform datepicker field. ) the date field shows the selected date only after row is left.
>
> How to tackel this?
>
> Regards
>
> Milind Nighojkar
>
> Akshat Kapoor Wrote:
>
> > 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
>
|
|