|
-
Jun 4th, 2003, 02:40 PM
#1
Thread Starter
Frenzied Member
Clone a control
This thread has made me think of a way to clone a control. Any one knows how?
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Jun 4th, 2003, 03:56 PM
#2
Lively Member
I wondered about the same thing. I checked some text books I have and searched online, and I can only come up with techniques to clone objects from classes you define.
Some implement the IClonable interface, and others use Serialization for a deep-deep copy ( where the object contains other object). Doesn't work with a textbox though. The error says the object is not serializable.
So, with respect to the built in controls, I can't find any way to do it.
-
Jun 4th, 2003, 05:59 PM
#3
Sleep mode
as a quick thought : visual inheritance .
-
Jun 5th, 2003, 11:43 AM
#4
Lively Member
>> visual inheritance
The problem that was originally presented required the program clone system and 3rd party controls, so inheritance was not an option.
-
Jun 5th, 2003, 12:08 PM
#5
Thread Starter
Frenzied Member
What is Visual Inheritance?
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Jun 5th, 2003, 12:11 PM
#6
Sleep mode
-
Jun 5th, 2003, 12:17 PM
#7
Thread Starter
Frenzied Member
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|