Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids: anybody tried custom columns class?
Message
From
22/10/2003 10:55:24
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00840600
Message ID:
00841059
Views:
32
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
Map
View

Click here to load this message in the networking platform