Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put code in grid's column class
Message
 
À
11/04/2002 01:21:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00642989
Message ID:
00643705
Vues:
13
Hi Budianto,

Here's what I would do :

Define Class MyColumn As Column

Function MouseMove
LPARAMETERS nBouton, nMaj, nXCoord, nYCoord

...Put Your Code Here

EndFunc

EndDefine


Then, when creating the grid :

MyGrid.ColumnCount = 0 && I think this will remove default columns in grid
MyGrid.AddObject("MyColumnName","MyColumn")&& put user defined column in grid

... The rest of your code to bind your column to fields or anything...



Hope it helps...
********************************************

Benoit Grenier


encoder@silogic.ca (Job)
encoder@sympatico.ca (home)
Web site : www.silogic.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform