471,330 Members | 1,178 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Property Editor, updating arrays

Hi,
I have my property editor working for my custom classes and struct
using typeconverters and generting propertydescriptors for the
custom fields and data fields etc, ...

when I edit an element of an array of struct eg Vector3
with the pop up collection editor it passes the changed
notification to update the array in the top class.

but it doesnt do this when I edit an element of the vector3 array
in the expanded list in the main property editor window.

this is only a problem when the array does not yet exist in the top
class becuase data that is default is not stored,
and a defualt array is generated to view in the editor.

when this is changed it should be copied to the top class.
this happens in the pop up editor but not the expanded view.

ive been at this property editor for some time and im
still a bit lost ... as to the difference between the two
ways of editing.

I realy wish to use the existing CollectionConverter and derived types
to handle collections such as arrays etc, rather than write my own
but I cant find a way of getting them to do the update.

many thanks
Colin =^.^=
Jun 27 '08 #1
0 792

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.