Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Put code in grid's column class
Message
 
 
To
11/04/2002 01:21:09
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00642989
Message ID:
00643705
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform