git Posted June 5, 2003 Posted June 5, 2003 (edited) Solved: Custom Control Ide Properties list Hello, I'm trying to make a custom control. This control Should have a property that acts as (for example) the label modifiers property in the VB.net ide. http://alpine.xs4all.nl/~hib/vb-ide-label-modifiers.JPG currently i can only make something similair to this but not with mutiple propertie-values in one property. Private req As Boolean = False Public Property requierd() As Boolean Get Return req End Get Set(ByVal Value As Boolean) req = Value End Set End Property annyone an idea how to do this..? regards hilmar Edited June 5, 2003 by git Quote
Administrators PlausiblyDamp Posted June 5, 2003 Administrators Posted June 5, 2003 Create an Enum containing the options and make that the property type Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
git Posted June 5, 2003 Author Posted June 5, 2003 Solved: Custom properties list thank you i was already lookin into that but i did forget something :( forgot to give it to the public property.. regards hilmar --for the completion the code: -- 'Comment: optioneel = optional in english but you can't use that because it is a reserved keyword Enum required_types Donothing = 0 requierd = 1 optioneel = 2 End Enum Private req As required_types Public Property requierd() As required_types Get Return req End Get Set(ByVal Value As required_types) req = Value End Set End Property Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.