| Subject |
Re: grid focus |
| From |
Mustansir Ghor <mustan31@hotmail.com> |
| Date |
Thu, 29 Dec 2022 03:27:17 -0500 |
| Newsgroups |
dbase.getting-started |
| Attachment(s) |
ghor.wfm, sales.DBF |
Dear Ken sir
Thank you.
I am herewith attaching the form and a table that holds its data.
1. When you run the form there will appear 2 grids.
2. The 1st grid2 (left side) has 3 invoices and 2nd grid1 (right side) has invoice details for each invoice.
3. The 2nd grid1 has column verified by. If this is empty then at bottom of this grid1 appears entryfield in which you need to enter the item code for the selected row of the grid2. If code matches then empty field verified by will be filled with _app.session,user()( you may change this). If it does not then pointer moves to next record (or to grid1 if it reaches endofset)
Now coming to problem. If we scroll grid2 (left side grid) using keyboard then wherever empty verify field comes, the entryfield appears and gets focus on it. But if we scroll with mouse the Entryfield does appear but does not get focus on it.
Let me hope you are able to observe the problem
Best Regards
Mustansir
Ken Mayer Wrote:
> On 12/28/2022 11:30 AM, Mustansir Ghor wrote:
> > Dear All
> >
> > I have a rowset datalinked to grid.
> >
> > The grid behaves different with keyboard uparrow or downarrow and mouse click. The difference is observed in the behavoiur of onnavigate method. Keyboard arrows does respond but onclick event does not.
> >
> > Can anybody advise how to simulate onclick event to also respond.
>
> You REALLY need to provide more details here. What exactly are you
> expecting when you say \\\"respond\\\"? What changes do you expect on the
> screen? Do you have sample code to show the issue?
>
> Ken
>
> --
> *Ken Mayer*
> Ken\\\'s dBASE Page: http://www.goldenstag.net/dbase
> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
> dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
> dBASE DOS to Windows Tutorial:
> http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm
>
|
|