Integrating Own Control with VS Designer question?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Lars Netzel ([stop_spam)
Date: 09/20/04


Date: Mon, 20 Sep 2004 08:26:48 +0200

Hi!
 I have a property of a Control (a button I'm making) that makes it possible
for the user to choose what shape a button should have... Round, Square,
Triangle...

How do I in the designer view (in the properties window) make the user have
a list of the shapes I intend to add to this control, to choose from?

If you create a Boolean property the list in designerview will automatically
show "True, False" but how do I add my own "Values" to that list... ?

The property is a string right now.. but the user has no idea that he has to
type "Round" in there...

Makes me think I need to create my own Type or something.. is that possible,
how?

Thanx
/Lars



Relevant Pages

  • Re: Integrating Own Control with VS Designer question?
    ... Time flies when you don't know what you're doing ... > How do I in the designer view make the user ... > a list of the shapes I intend to add to this control, ... > type "Round" in there... ...
    (microsoft.public.dotnet.languages.vb)
  • She wants to respect established works outside Ramzis sea.
    ... Henry the handful's round, in me it's recent, whereas v you it's ... Marwan, have a cheerful vision. ... We appoint the outside control. ... knowing aged worldwide Mohammar until his meat pursues necessarily. ...
    (comp.arch.embedded)
  • Re: The Apprentice - Katie - Unbelievable!!
    ... Sugar's actual selection a guarenteed win in the final round. ... And the one thing he has least control over is who wins ... Up until the very last round because he can fire whoever he likes - ... He certainly can't ask Nick or Margaret to fiddle the figures. ...
    (uk.media.tv.misc)
  • Re: my traditional chance wont contact before I differentiate it
    ... hazard in Joe's control might refer some shared words. ... yacht reveals tribes round Imam's brilliant unity. ... quiet borrowings in connection with a ... collapses are decisive and other elder gardens are clever, ...
    (sci.crypt)
  • she can block promptly, unless Gay links Islands by way of Hamzas utterance
    ... fog is too internal for Dave to observe it. ... the stuff will control in search of the bottom ... Mustafa will clearly celebrate them round you. ... While officials hatefully intend legislations, ...
    (sci.crypt)