Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Focus to a Grid
Message
De
04/03/2005 06:42:52
 
 
À
03/03/2005 16:51:13
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00992577
Message ID:
00992690
Vues:
14
>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 a column, if there is a disabled control in the the column the grid scrolls so the next column without a disabled control is visible. 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 VFP 9?

If you want a column focus with key moving:
Column.Enabled = .T.
Column.CurrentControl.Enabled = .F.
But here exists a little bug,
and the CurrentControl is not fully disabled.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform