Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid: preventing column from moving or resizing
Message
From
26/03/2005 01:07:27
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00999191
Message ID:
00999264
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform