Is there a way to save changes made in a propertygrid?
Saving Changes Made With PropertyGrid
Page 1 of 13 Replies - 193 Views - Last Post: 21 January 2013 - 10:03 AM
Replies To: Saving Changes Made With PropertyGrid
#2
Re: Saving Changes Made With PropertyGrid
Posted 21 January 2013 - 09:35 AM
Yes, but you would save the values of the object and not the pretty UI control (aka the property grid).
#3
Re: Saving Changes Made With PropertyGrid
Posted 21 January 2013 - 10:00 AM
I am working on a project that allows the user to change values in a property grid. Only thing is I am not quite sure how to save the values.
Let say I ran my program and double clicked on the form. It would open
another form with a property grid for form1. I use the grid to change
the size of the form, the background color, and the borderstyle. How
would I save the values so whenever start the program it uses the new
values.
Let say I ran my program and double clicked on the form. It would open
another form with a property grid for form1. I use the grid to change
the size of the form, the background color, and the borderstyle. How
would I save the values so whenever start the program it uses the new
values.
#4
Re: Saving Changes Made With PropertyGrid
Posted 21 January 2013 - 10:03 AM
Again.. the property grid is just a nice wrapper UI control, right? It doesn't nothing but provide a nifty framework for properties of your form1. Your form1 is where the data is.. so you can save it how ever you feel like.. in the my.settings, in a database, textfile, or what what evs.
The key thing is you do *NOT* save anything from the property grid... you would save things from their respective properties.. ie the form's height and width, etc.
The key thing is you do *NOT* save anything from the property grid... you would save things from their respective properties.. ie the form's height and width, etc.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote







|