How to clone properties (object)?

Topics: User Forum
Apr 20, 2010 at 12:47 PM
Edited Apr 20, 2010 at 12:50 PM

sorry about my english...

that is the situation:

i have a form with a tabcontrol.

multipage assembled dynamically. each page have 1 scintillanet object.

1 in page 1, other in page 2, other in page 3, other in page n...

the scintillanet object of page 1 was manually configured. others do not because they are assembled dynamically.


how to copy the object configuration (all properties and atributes) of page 1 to page N?

appreciate the attention.


Apr 23, 2010 at 12:02 AM

Chris knows the configuration better than I do so he's the right guy to ask, however, based on my understanding of the configuration -- it's only one way. You can read a configuration into a ScintillaNET control, but changing the properties on ScintillaNET does not in any way update the current configuration and so there is no way to then copy that whole thing over to another instance of ScintillaNET.

The only way to achieve what your looking for is to copy over the ScintillaNET properties/collections yourself, one-by-one.