PC Review


Reply
Thread Tools Rate Thread

Copy a control at runtime.

 
 
=?Utf-8?B?SmVmZlM=?=
Guest
Posts: n/a
 
      19th Aug 2004
I have a main form where I have a 3rd party control.
At some point a user clicks a button which launchs a wizard, I want to pass
a copy of the 3rd party control to the wizard and not have it reference the
one on the main form so the changes can be made to the copy and not effect
the original. Can this be done? And how?


--
Thanks,
JeffS
 
Reply With Quote
 
 
 
 
One Handed Man \( OHM - Terry Burns \)
Guest
Posts: n/a
 
      19th Aug 2004
Is this a Cloneable class ?, if so, it may have methods to allow you to
create a newly instantiated version with the same values, if not, you may
have to subclass it and do the cloning yourself

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"JeffS" <(E-Mail Removed)> wrote in message
news:0E0EB22C-B5A6-4C74-B977-(E-Mail Removed)...
> I have a main form where I have a 3rd party control.
> At some point a user clicks a button which launchs a wizard, I want to

pass
> a copy of the 3rd party control to the wizard and not have it reference

the
> one on the main form so the changes can be made to the copy and not effect
> the original. Can this be done? And how?
>
>
> --
> Thanks,
> JeffS



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
add control to a form or register control in runtime Martin Microsoft Access Form Coding 13 26th Jul 2005 03:51 PM
Re: Adding Validator Control at runtime in a Custom Control mudasir.ahmed@gmail.com Microsoft ASP .NET 1 17th Dec 2004 09:14 PM
Copy Visual Objects at Runtime Joăo Santa Bárbara Microsoft Dot NET 1 1st Jun 2004 12:42 PM
User control - remove control at runtime Tomas Oplt Microsoft VB .NET 1 20th Nov 2003 08:26 PM
JS runtime error in doPostBack with control:control form ID Matt Petteys Microsoft ASP .NET 0 14th Aug 2003 01:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:02 AM.