G
Guest
Hello all
I am working on a serialization formatter to store and load control properties at both design time and run time
I am having a problem with the Name property of controls at design time. It doesn't work like other properties. My formatter code works fine at runtime, but at design instead of receiving the object's name, I receive a string of the object's type (e.g. if my object is a Button called "CancelButton", at design time Name=="Button" while at run time Name=="CancelButton")
Does anyone know where there is more information on the Name property? Is there any way to obtain the name assigned to the object at design time? Also, is there any way to obtain the name of a component? These have no Name property at runtime, even though there is a property called "(Name)" in the property editor which affects code generation at design time
Thanks
Marku
I am working on a serialization formatter to store and load control properties at both design time and run time
I am having a problem with the Name property of controls at design time. It doesn't work like other properties. My formatter code works fine at runtime, but at design instead of receiving the object's name, I receive a string of the object's type (e.g. if my object is a Button called "CancelButton", at design time Name=="Button" while at run time Name=="CancelButton")
Does anyone know where there is more information on the Name property? Is there any way to obtain the name assigned to the object at design time? Also, is there any way to obtain the name of a component? These have no Name property at runtime, even though there is a property called "(Name)" in the property editor which affects code generation at design time
Thanks
Marku