#0 - Feb. 28, 2007, 1:20 a.m.
However, SetScrollChild() does not tie frame to ScrollFrame logically. That is to say, frame is not returned by the GetChildren() method of ScrollFrame.
The end result (and the bug) is that although calling ScrollFrame:Hide() will remove frame and its children from the screen, frame's children CAN STILL BE CLICKED.
I discovered this in conjunction with the Faction Grinder addon. Since I moved a set of checkboxes and other objects into the ScrollChild of a ScrollFrame, my users have been complaining of being able to click checkboxes even when they are hidden.
Seems that the best results would be obtained if SetScrollChild() internally called SetParent() on the item you pass to it.