When I'm defining custom properties on a custom control - how do I define a custom property w/ only limited, defined options . For example, I have a custom control that displays an I/O channel state... one of the properties is "Channel Direction", which I have set as a boolean right now. When false it's an output channel - when true it's an input channel. I'd like to give the property a dropdown, like what other standard controls have, with the two (Input, Output) values as the only options.
I'm using VB2005 and I've only been programming a few months - so any advice will be greatly appreciated!
Red Flag Submitted
Thank you for helping keep Eng-Tips Forums free from inappropriate posts. The Eng-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Eng-Tips forums is a member-only feature.