THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/03/2012 at 20:59, xxxxxxxx wrote:
I am creating a popup dialog when a user clicks a bitmap button, and everything works fine. The only issue is that the popup will only show AT MOST two of my popup string items....what if I want 3...or 4...or 8?
Is there some kind of limit to the number of items that you can show in a popup or is it a bug?
myContainer=c4d.BaseContainer()
myContainer.SetString(0, "Choose Layout&d&")
myContainer.SetString(1, "Default Layout")
myContainer.SetString(2, "Horizontal Layout")
myContainer.SetString(3, "Vertical Layout")
gui.ShowPopupDialog(myDialog(), myContainer, c4d.MOUSEPOS, 2, 6)
Thanks!
Marc