Help with custom properties in my own control
From: André Nogueira (anog_at_netcabo.pt.NOSPAM)
Date: 07/21/04
- Next message: Jay B. Harlow [MVP - Outlook]: "Re: Data Conversion"
- Previous message: Herfried K. Wagner [MVP]: "Re: Stringbuilder and concatentaion question"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Help with custom properties in my own control"
- Reply: Herfried K. Wagner [MVP]: "Re: Help with custom properties in my own control"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 21 Jul 2004 19:25:55 +0100
Hi there.
I have my own control and can add properties that are integers or strings or
icons or whatever.
But how can I make a property that only lets the user select a predefined
value?
Like in the Visible property you can't enter your own values, you can just
select True or False.
I'd like to have a property where the user can only select "Value A" "Value
B" or "Value C". I do not want it to be a boolean (as True and False are)
but my custom strings.
Can this be done? How?
Thank you in advance.
André Nogueira
- Next message: Jay B. Harlow [MVP - Outlook]: "Re: Data Conversion"
- Previous message: Herfried K. Wagner [MVP]: "Re: Stringbuilder and concatentaion question"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Help with custom properties in my own control"
- Reply: Herfried K. Wagner [MVP]: "Re: Help with custom properties in my own control"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|