dbTalk Databases Forums  

Vfp Grid Behavior

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Vfp Grid Behavior in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JimRieck
 
Posts: n/a

Default Vfp Grid Behavior - 03-04-2005 , 02:05 PM






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?

Jim


Reply With Quote
  #2  
Old   
Stefan Wuebbe
 
Posts: n/a

Default Re: Vfp Grid Behavior - 03-05-2005 , 01:30 AM







"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
-----------------------------------------------------------



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.