Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid: preventing column from moving or resizing
Message
De
26/03/2005 01:07:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00999191
Message ID:
00999264
Vues:
22
Sergey,

>I tested it in VFP9 and it works. I think you put code in the wrong colums.
>
>Here's another idea
>* Moved Event of moveable columns
>This.Parent.Column1.ColumnOrder = 1
>This.Parent.ColumnN.ColumnOrder = N

Brillant! Yes, it does work. And you're right, I kept putting the code in the wrong columns (the locked vs. movable columns).

For those following this thread, columns can be visually moved to the left or right of the first and last columns, but Sergey's code snaps these sneaky columns back into place as soon as the user releases their mouse button.

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform