Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide grid column
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00989465
Message ID:
00989707
Vues:
48
This message has been marked as the solution to the initial question of the thread.
>The problem with setting the column width to 0 is that the user still can move the cursor onto those columns.
>
>I solve my problem in another way. i added a second datagrid to show subtotals, and will update the cursor in the afterrowcolchange event.
>
>Thanks anyway...

Wilson,

I know you solved the problem in another way, but you could've just disabled the column when it's width is 0, that would've taken care of moving the cursor onto them.

Something like:
with thisform.grdCourses.column3
	.width = Iif(.width=0, 75, 0)
	.enabled = .width > 0
endwith
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform