Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling a Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00399781
Message ID:
00399822
Vues:
12
>Hi,
>
>I have a grid on a form that can have up to 31 columns. Each column has its own header, width, etc. The grid is 'prebuilt' on the form already and I delete, remove and rename the headers based on another table.
>
>I allow users to edit that table through another grid that shows them the header name, a logical field they can check to show or not show the column, etc.
>
>Is this the best way to approach this?

It's reasonable; I tend to use a Mover Box to select and order the fields for display. If you've not played with using a mover box, you might do well to take a look at the FFC which comes with VFP6; it includes several classes of Mover, including one (_fieldmover in _movers.vcx) that does exactly what you're trying to do.

>
>Thanks,
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform