Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid order
Message
From
10/05/2016 10:15:03
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
10/05/2016 10:06:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01636103
Message ID:
01636110
Views:
61
>Lutz - MS is quite happy to have code in the grid header click event - https://msdn.microsoft.com/en-us/library/azc9x3f9%28v=vs.80%29.aspx, so I put code in there just to see if it works, and it does, but you have to physically click it.
>
>I tried making a method called 'gridorder' and putting the 'set order to' in there, and calling that, but that didn't work either.

I think others have pointed you to some valuable books on that matter.

A MS example means not much. This one would not work on any form of mine at first glance.

Do you have the right work area active infront of SET ORDER? Have you checked SET("Order") afterwards? Just suspend the form and try it or use SET to get the appropriate form and check there.

Your method gridorder is a method of what? Your grid class, your header class ...
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform