Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting a method at runtime
Message
From
09/09/1998 08:26:51
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
09/09/1998 07:09:36
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Romania
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00134394
Message ID:
00134420
Views:
11
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform