Hi David
-----
Anyway, no you can't have multiple column subclasses in a grid at design time.
-----
I write this.
This is the main limit of the grid today
------
I'm not sure why you'd want to composite particular controls to different column classes like this. You can achieve the same result using one column subclass and dropping the controls you want onto the grid.
------
Now i use this VCX style design.
If VFP support multiple column subclasses in a grid at design time,
i can do more complex grid with much little code, greater clarity and
much little work.
Little Little example:
- on grid i want textBox,EditBox,.... on various column
- i define a grid with MemberClass = "MyColumn"
I want TextBox with Sparse = .T.
but for EditBox i need to set Sparse = .F.
( i need set this any time i drop a EditBox on MyColumn)
Yes, i can put this.Parent.Sparse = .F. on Init() of EditBox class, but ....
With Dynamic.... properties this gain is more.
Fabio
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only