PC Review


Reply
Thread Tools Rate Thread

Custom ListBox control

 
 
NoTomorrow
Guest
Posts: n/a
 
      13th May 2005
Hi, what class type do I need to expose as a public property in order to get
a collection of string objects in the designer (ala the ListBox control's
Items property)?

I've tried System.Windows.Forms.ListBox.ObjectCollection, but when I build
my custom control, I don't get the string collection dialog come up in the
designer, only a collection of System.Object types.

Oh, and I don't want my control to inherit from ListBox, I want it to
inherit from Control.

Thanks,
NT.


 
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
Move record selected in Listbox to top of listbox control =?Utf-8?B?SG9sbHk=?= Microsoft Access Forms 8 25th Aug 2006 02:13 PM
Capturing event from other custom control within another custom control Jonah Olsson Microsoft ASP .NET 1 5th Apr 2005 02:39 PM
Make ListBox multiline in Custom ListBox Soren-a Microsoft Dot NET Compact Framework 0 25th Nov 2004 02:09 PM
Using a ListBox in a custom server control =?Utf-8?B?R3lydXNHTQ==?= Microsoft ASP .NET 0 18th May 2004 03:41 AM
Using Table control in a custom composite control. Control does not render properly in design time. jb_in_marietta@yahoo.com Microsoft ASP .NET 0 1st Jul 2003 10:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 PM.