I’m building a dialog, and would love to have wee groups around each iteration of this.
This is inside a loop, it’s so each iteration of the loop are layed out like tiles.
So I basically want to create a row, then 5 groups of controls, then add a new row etc.
This is working fine at adding rows, but not with the groups (you can see below where I think they should be placed) but they are outside of the rows and ignored?
So it displays like
group
group
group
row with looped stuff (not in a group)
so whats the proper usage? Groups cannot be on rows? Rows should be inside groups instead? If so how do I group stuff on a row to break it up…
[code] if oColumn == 0:
scriptDialog.AddRow()
scriptDialog.AddControl( “DummyLabel1”, “LabelControl”, “”, 200, 5 )
scriptDialog.EndRow()
scriptDialog.AddRow()
#scriptDialog.AddGroupBox(oShot+"Group", oShot, False)
scriptDialog.AddSelectionControl( oShot+"CHK", "CheckBoxControl", 0, oShot , 100, 10 )
scriptDialog.AddComboControl( oShot+"EXT", "ComboControl", "jpg", ("jpg","dpx"), 45, 20 )
scriptDialog.AddControl( "Label", "LabelControl", " Handles", 50, -1 )
scriptDialog.AddControl( oShot+"HandleStart", "TextControl", "10", 20, -1 )
scriptDialog.AddControl( oShot+"HandleEnd", "TextControl", "10", 20, -1 )
#scriptDialog.EndGroupBox(False)
if oColumn == oRowMax-1:
scriptDialog.EndRow()[/code]