gborges
August 12th, 2008, 08:30 AM
Hi all!
I have a problem when trying to update a customized control using a Collection Editor.
My customized control is a XY graph. This control allows the user to add some auxiliary lines. In order to do it, I extended a collection editor.
When the user selects adding auxiliary lines, the collection editor window opens, and so, the user can add the lines names, colors, and points. When the user tries to add the line points, another collection editor opens.
When the user finished his job, it clicks OK (on collection editor window), so, this time, I would like to update the control. I would like to get all added lines (which contains each one the name, color and a list of points) in order to to it.
The problem is that I don't know how to get the Collection Editor OK button click event.
Is my approach to solve this problem correct? Is there any other way to solve it? If I am correct, how can I get the OK button click, and so get the list of lines in order to update my control.
Thank you in advance.
I have a problem when trying to update a customized control using a Collection Editor.
My customized control is a XY graph. This control allows the user to add some auxiliary lines. In order to do it, I extended a collection editor.
When the user selects adding auxiliary lines, the collection editor window opens, and so, the user can add the lines names, colors, and points. When the user tries to add the line points, another collection editor opens.
When the user finished his job, it clicks OK (on collection editor window), so, this time, I would like to update the control. I would like to get all added lines (which contains each one the name, color and a list of points) in order to to it.
The problem is that I don't know how to get the Collection Editor OK button click event.
Is my approach to solve this problem correct? Is there any other way to solve it? If I am correct, how can I get the OK button click, and so get the list of lines in order to update my control.
Thank you in advance.