Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting a method at runtime
Message
De
09/09/1998 08:26:51
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
09/09/1998 07:09:36
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00134394
Message ID:
00134420
Vues:
12
>Hi,
>
>I want to change a method at runtime for a column in grid;
>At runtime I added a column to grid and want to execute something at mousemove event.
>
>Thanks.

My answer here is to create a subclass of the column object, with your code, then add this to the grid at runtime.
p.s. you can't subclass the column object visually, so you'll need to write some
DEFINE CLASS myCol AS Column
.
.
ENDDEFINE

code in a .PRG file and set it as a PROCEDURE file.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform