Click here to Skip to main content
15,881,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: OfficeXP visual style??? Pin
leppie25-Sep-02 13:15
leppie25-Sep-02 13:15 
General.NET Everett Changes Pin
David Stone24-Sep-02 12:31
sitebuilderDavid Stone24-Sep-02 12:31 
GeneralRe: .NET Everett Changes Pin
leppie24-Sep-02 13:31
leppie24-Sep-02 13:31 
GeneralCollection Editor Pin
Tomas Petricek24-Sep-02 12:05
Tomas Petricek24-Sep-02 12:05 
GeneralRe: Collection Editor Pin
leppie24-Sep-02 13:57
leppie24-Sep-02 13:57 
GeneralRe: Collection Editor Pin
Tomas Petricek25-Sep-02 2:43
Tomas Petricek25-Sep-02 2:43 
GeneralRe: Collection Editor Pin
Tomas Petricek25-Sep-02 3:46
Tomas Petricek25-Sep-02 3:46 
GeneralRe: Collection Editor Pin
leppie25-Sep-02 5:02
leppie25-Sep-02 5:02 
Hi
Everything seems fine Smile | :)

But (isnt there allways a butt?) you may need to add some extra methods to implement.

Also, implement the collection in your class as follows:

public class MyClass 
{
  DropDownCollection ddcol;

  public MyClass()
  {
    ddcol = new DropDownCollection();
  }

  public DropDownCollection DropDownItems 
  { get { return ddcol;} } //note, NO set property
}


Nave a look at this as well, very handy for creating Strongly typed collections Smile | :) http://www.gotdotnet.com/userfiles/kristopher_johnson/TypedCollectionGenerator_1_3_0.zip[^]

Hope it works this time Smile | :)

Give them a chance! Do it for the kittens, dear God, the kittens!
GeneralRe: Collection Editor Pin
Tomas Petricek25-Sep-02 6:43
Tomas Petricek25-Sep-02 6:43 
GeneralRe: Collection Editor Pin
leppie25-Sep-02 7:30
leppie25-Sep-02 7:30 
GeneralRe: Collection Editor Pin
Tomas Petricek25-Sep-02 9:25
Tomas Petricek25-Sep-02 9:25 
GeneralProblem with DrawString in OnPrintPage handler Pin
Rado24-Sep-02 11:17
Rado24-Sep-02 11:17 
GeneralGetting info on drives Pin
Wjousts24-Sep-02 9:34
Wjousts24-Sep-02 9:34 
GeneralRe: Getting info on drives Pin
leppie24-Sep-02 10:15
leppie24-Sep-02 10:15 
GeneralRe: Getting info on drives Pin
Wjousts24-Sep-02 10:29
Wjousts24-Sep-02 10:29 
GeneralRe: Getting info on drives Pin
leppie24-Sep-02 10:58
leppie24-Sep-02 10:58 
GeneralRe: Getting info on drives Pin
Wjousts24-Sep-02 16:45
Wjousts24-Sep-02 16:45 
GeneralRe: Getting info on drives Pin
Paul Riley25-Sep-02 0:56
Paul Riley25-Sep-02 0:56 
GeneralRe: Getting info on drives Pin
Mazdak24-Sep-02 23:39
Mazdak24-Sep-02 23:39 
QuestionHow to port tree control from window form 2 web from in C#? Pin
zanhsieh24-Sep-02 8:53
zanhsieh24-Sep-02 8:53 
AnswerRe: How to port tree control from window form 2 web from in C#? Pin
leppie24-Sep-02 10:09
leppie24-Sep-02 10:09 
GeneralDecimal floating point to binary conversion Pin
Humayun24-Sep-02 6:48
Humayun24-Sep-02 6:48 
GeneralRe: Decimal floating point to binary conversion Pin
Nick Parker24-Sep-02 8:48
protectorNick Parker24-Sep-02 8:48 
QuestionHow to use initialization of dialog Pin
24-Sep-02 6:49
suss24-Sep-02 6:49 
AnswerRe: How to use initialization of dialog Pin
leppie24-Sep-02 7:15
leppie24-Sep-02 7:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.