>>
>Greg, I am particulary interested in a sublclassed version of a grid control that alleviates VFP's legacy problem of the grid's visual characteristics getting munged whenever it is disconnected from its underlying datasource.
check the VFUG tips and or use views
A related topic: Do you have the equivalent of a Browse command that yields a true grid? Not that it has to be done in a single statement like the Browse command, but some reasonably straightforward way (in code) to deal more flexibly wth instantiating Grids than the heavily code-intensive brute force method of adding every column container, every header, every column object, etc. Yeah, you can create a specific subclass, but it's still more of same scut work because every grid that one uses in an app can be so different from the others that you basically create a different subclass for each (and only one) instance of the grid.
in VFP 5.0 when u drag and drop a table from the Dataenvironment it creates a grid with all the headers set to the long field names
Arnon
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement