PDA

View Full Version : Drop-list in custom bean?



Jeff Morse
04-19-2006, 09:12 AM
Hello,

I am writing a custom bean to access the registry and would like the ui to have a "Hive" drop-list similar to the one in the "Windows Get Registry Value Action" bean. Or just any True/False drop-list. Can anyone show me the code I need to include in my bean?

Regards,

Jeff

RobertDickau
04-19-2006, 09:20 AM
A boolean bean property automatically gets a True/False list for design time. For other values, you can specify to use a list of enumerated values at design time in the bean info class; see, for example, this old Editor Gallery example...

Jeff Morse
04-19-2006, 12:23 PM
Thanks again Robert. I'll give this a try.