Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem w/programmatic column object
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Problem w/programmatic column object
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01015432
Message ID:
01015432
Views:
61
I have a grid on a form, and in certain specific cases I'm programmatically adding a column to the grid, specifying a certain textbox control to occupy the column.

This generally works out great - however, I need to add Valid method code to the column's textbox control, and I can't figure out how to accomplish that. Any ideas?

I can't add the column at design time because and conditionally remove it at runtime, because it would cause a subclass of that grid to crash.

Laterness,
Jon

Update:

Never mind - I answered my own question. I'll just create a new textbox class that I would then add to the column that has the method code already filled in.
Jon Rosenbaum
Devcon Drummer
Next
Reply
Map
View

Click here to load this message in the networking platform