How to insert (not append) GroupEnd and GroupStart

  •  06-01-2005, 3:25 AM

    How to insert (not append) GroupEnd and GroupStart

    I could only find a way to append groupend and start, so I appended and then moved to pos... (see below)
    Is this appropriate or is there a better way?  Also, should I expect my tool bars to wrap at the groupend markers or are the markers just there for aesthetics?


                Editor1.AddToolbarGroupEnd();
                Editor1.AddToolbarGroupStart();
                int count = Editor1.ToolControls.Count-1;
                CuteEditor.ToolControl tool = Editor1.ToolControls[count--];
                Editor1.ToolControls.Insert(pos,tool);
                tool = Editor1.ToolControls[count--];
                Editor1.ToolControls.Insert(pos,tool);
View Complete Thread