PC Review


Reply
Thread Tools Rate Thread

Code not generated

 
 
Stefan De Schepper
Guest
Posts: n/a
 
      18th Jul 2003
Hi all,

I am trying to make an "allround" combobox, being able to just be a combobox
or an imagecombo. The appearance of this control can be either 3D or flat.
The control is based on
http://www.codeproject.com/cs/combob...etcombobox.asp (which has the
ComboBox control being inherited by the ComboBoxBase, which is in turn
inherited by the TextComboBox). Instead of using regular Items (strings), I
want Items with Text, Key and ImageIndex properties. Therefore I have the
Items property shadowed:

<DesignerSerializationVisibility(DesignerSerializationVisibility.Content)>
Public Shadows ReadOnly Property Items() As Items
Get
Return mvarItems
End Get
End Property

I can add and remove items with the Item Collection Editor, but the code for
these items is never generated (or so it seems).
What am I doing wrong here? Any help appreciated!

Stefan.


 
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
Reference.map(1): Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated. genc ymeri Microsoft ASP .NET 0 27th Apr 2006 04:28 PM
Reference.map(1): Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated. genc ymeri Microsoft C# .NET 0 27th Apr 2006 04:28 PM
vs2k5 Beta2 'Code Analysis' returns warnings on generated code dbuchanan Microsoft ADO .NET 2 25th Oct 2005 11:22 AM
vs2005 beta2 'Code Analysis' returns warnings on generated code dbuchanan Microsoft VB .NET 2 23rd Oct 2005 10:35 AM
How to generate custom code in the "Windows Form Designer generated code" section =?Utf-8?B?Lk5ldCBEZXZlbG9wZXI=?= Microsoft Dot NET Framework Forms 3 3rd May 2004 03:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:15 AM.