"JimRieck" <jimrieck (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:1109966700.273630.212760 (AT) z14g2000cwz (DOT) googlegroups.com...
Quote:
All,
We have several grids in an application. The controls within the
columns of the grids are disabled or enabled within the code based on
how the user interacts with the application. When we set focus to the
grid, the grid scrolls so the next column with an enabled control. The
problem is that we don't want it to scroll at all. How do we avoid
this? Is this a bug or "by design"? If it's a bug, was this behavior
fixed in Visual FoxPro 9? |
One way might be to Return .F. in current control.When()
conditionally, e.g. something like
&& grid.ColumnX.Text1.When
Return MDown() .or. LastKey()=9
hth
-Stefan
--
Quote:
\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
|
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------