steaky1212
May 5th, 2009, 06:10 AM
Hi,
I am trying to dynamically change the contents of a combobox.
I want to have the text in the combobox the same as a nested namespace...
for example.
namespace Global
{
namespace Up
{
namespace Left
{
}
namespace Right
{
}
}
namespace Down
{
namespace Left
{
}
namespace Right
{
}
namespace Middle
{
}
}
}
And I want to populate a combobox with Left,Right (or Middle)....but I want to populate the combobox depending on the previous namespace (if that makes sense).
At the moment I was using Enums and hardcoding the options, but now I have added "Middle" and want it to change dynamically.
Thanks,
Stephen
I am trying to dynamically change the contents of a combobox.
I want to have the text in the combobox the same as a nested namespace...
for example.
namespace Global
{
namespace Up
{
namespace Left
{
}
namespace Right
{
}
}
namespace Down
{
namespace Left
{
}
namespace Right
{
}
namespace Middle
{
}
}
}
And I want to populate a combobox with Left,Right (or Middle)....but I want to populate the combobox depending on the previous namespace (if that makes sense).
At the moment I was using Enums and hardcoding the options, but now I have added "Middle" and want it to change dynamically.
Thanks,
Stephen