Building a dynamic Propertygrid??
Hi, I have an access database with a table of my program settings (such as defaults, colours etc) I want to display these settings in a propertygrid. My Table has setting name, description and value fields.
My problem is that the tabel is dynamic, the setting types and their descriptions are constantly being added to and I dont want to change the code every time to add another setting line in the propertygrid class.
Is there a way I can dynamically add the various property categories? In a loop? Or am I going about this all wrong?
Thanks
Re: Building a dynamic Propertygrid??
I'm stuggling with a simular situation, you could take a look at these two sites to know where to start :
http://msdn.microsoft.com/library/de...ngpropgrid.asp
http://www.codeproject.com/cs/miscct...g_property.asp
I think that the second article describes what you need
Re: Building a dynamic Propertygrid??
These two threads of mine may help.
Property Grid 1
Property Grid 2
:)
8888 Posts! :D