Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Combobox in a wizard
 

Combobox in a wizard

How do I put a combobox with values in a wizard?
koen.weyts_qframe.be  Friday, December 28, 2007 1:56 PM
If you assign a type converting offering a list of values to your recipe argument then the wizard will display the UI for this recipe argument as a combobox.

-vga.
vga  Friday, December 28, 2007 2:36 PM

If it is a fixed list of values you can define your own enum type which will automatically get shown as a drop down list containing all the possible values for the list.

If you want the list of values to be variable or you can't use a enum for some other reason, then take a look at Type Converters (http://msdn2.microsoft.com/en-us/library/ayybcxe5.aspx) and methods GetStandardValues, etc.

Once you have defined your own type converter you will need to tell GAX to use it by specifying it using the "TypeConverter" attribute in your recipe argument declaration in the guidance package xml manifest file.

HTH,
-Victor.
vga  Wednesday, January 02, 2008 11:50 PM
If you assign a type converting offering a list of values to your recipe argument then the wizard will display the UI for this recipe argument as a combobox.

-vga.
vga  Friday, December 28, 2007 2:36 PM
Could you give me a small example for this or point me to one?

koen.weyts_qframe.be  Saturday, December 29, 2007 10:56 AM

If it is a fixed list of values you can define your own enum type which will automatically get shown as a drop down list containing all the possible values for the list.

If you want the list of values to be variable or you can't use a enum for some other reason, then take a look at Type Converters (http://msdn2.microsoft.com/en-us/library/ayybcxe5.aspx) and methods GetStandardValues, etc.

Once you have defined your own type converter you will need to tell GAX to use it by specifying it using the "TypeConverter" attribute in your recipe argument declaration in the guidance package xml manifest file.

HTH,
-Victor.
vga  Wednesday, January 02, 2008 11:50 PM

You can use google to search for other answers

Custom Search

More Threads

• Access to $fileinputname$
• How to add Visual studio data source wizard in GAT
• HoL Registration failed
• Combining GAT and CAB
• how to use a class file from one project in another project in the same solution
• Some arguments not being replaced in item template
• Exception message for the enduser?
• Guidance Package Manager fails to appear in visual studio 2008
• No resolution found yet :-( Recipie Exception: System.IO.FileNotFoundException. Recipie unable to find the included files.
• Packaging both Vb and CS in one Guidance Package