Hi!
Instead of drop of default grid object, just drop your grid class with your column class. Then you will always have your text boxes in your columns.
I always have base classes for all UI controls.
Just a bit of OOP, and any global change comes with easy < s >
>Thank you very much for your advise about including object into column class. I didn't think of it myself :-) Now it works fine.
>
>As for including MemberClassLibrary in Column class I consider it's rather possible. When you drop Grid object to your form and set ColumnCount to value other than 0 it inserts the default Text objects into Columns. Why not to get the first found TextBox-based class definition from my class library or generate error message otherwise?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.