Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible to subclass columns?
Message
De
23/10/2007 15:20:21
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
23/10/2007 14:29:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01262883
Message ID:
01262896
Vues:
16
Further to what Borislav has said, check into the VFP8 samples "Member Classes" from the Task Pane manager. There is one for grid columns.

Mike

PS. Your company's demo is definitely not VFP is it? It looks so "retro" :)


>Hi everyone,
>
>Is it possible to subclass a column and then get a grid to use the subclass instead of the base class for the columns instantiated?
>
>It seems the default for .SelectOnEntry() is .T. and this client wants all their data entry grids to have this set to .F.; so either I go through and do so manually on each form or I guess better yet I could put code in the .INIT() of the form to loop through all columns and set this to .f. at runtime. But I would rather subclass the column and then somehow use this in my data entry subclass as the default column class.
>
>It appears though that you cannot visually subclass a column although you can programmatically subclass it - with the latter though, I cannot see how to get the grid to use this subclass (I cannot even hack the .scx and do a "replace all" because the column itself does not seem to be a record in the .scx - it is just a property.
>
>Am I missing anything or what would be the best practice?
>
>Albert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform