PC Review


Reply
Thread Tools Rate Thread

Clone comboBox Control problem

 
 
=?Utf-8?B?SmF5ZQ==?=
Guest
Posts: n/a
 
      6th Feb 2007
I would like to clone the comboBox Control, the be cloned one must contain
all the properties of orginial. Especically in the dataset and selectedvalue.

How can i do that? and have any example?

please help me ~~ !_!

 
Reply With Quote
 
 
 
 
rowe_newsgroups
Guest
Posts: n/a
 
      6th Feb 2007
On Feb 6, 2:31 pm, Jaye <J...@discussions.microsoft.com> wrote:
> I would like to clone the comboBox Control, the be cloned one must contain
> all the properties of orginial. Especically in the dataset and selectedvalue.
>
> How can i do that? and have any example?
>
> please help me ~~ !_!


I would guess you need to inherit the combobox class and then
implement IClonable.

Thanks,

Seth Rowe

 
Reply With Quote
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      7th Feb 2007
Jaye,

I think it makes no sense, the combobox does not *contain* a dataset and a
selectedvalue.

It only contains a reference (pointer) to the dataset and tells what
propertyname the selectedvalue has

Cor

"Jaye" <(E-Mail Removed)> schreef in bericht
news:F7DB4585-8201-41C4-B390-(E-Mail Removed)...
>I would like to clone the comboBox Control, the be cloned one must contain
> all the properties of orginial. Especically in the dataset and
> selectedvalue.
>
> How can i do that? and have any example?
>
> please help me ~~ !_!
>



 
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
How to clone container control (with child control inside it) like a group box harishashim@gmail.com Microsoft C# .NET 0 18th May 2006 03:59 AM
PROBLEM: ComboBox control drawn larger than defined Tom Luetz II Microsoft VB .NET 2 20th Oct 2004 04:07 AM
Re: Populate subform datasheet combobox from mainform tab control combobox Sandra Daigle Microsoft Access 0 22nd May 2004 09:16 PM
Clone a Control Jimmy Lu Microsoft C# .NET 0 18th Mar 2004 05:30 AM
Control Button Clone =?Utf-8?B?UGhpbCBIYWdlbWFu?= Microsoft Excel Programming 4 28th Jan 2004 03:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:27 PM.