Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid class with memberclass not working
Message
From
31/08/2006 17:12:25
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Grid class with memberclass not working
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01150228
Message ID:
01150228
Views:
73
Hello,

I created (visually) a grid class that uses a MemberClassLibrary and MemberClass. If in the designer, I set the grid's columncount to >0, I see the columns (and headers) that I specify in my prg code. I know this is correct because I can see the column styles and inherited code from my column class as defined in the prg.

When I open a form and drop an instance of my grid class on it, set the column count to > 0, again things look fine. I know that the columns and headers are from my prg.

The problem is that when I save this form then open it again in the IDE or run the form, the grid is using the default VFP settings. i.e. it is not respecting the fact that I have a MemberClass specified!

Anyone else seen this behavior and found a solution?

TIA
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform