Sets whether the frame should automatically come to the front when clicked. When a frame with Toplevel behavior enabled is clicked, it automatically changes its frame level such that it is greater than (and therefore drawn "in front of") all other frames in its strata.

Signature:

Frame:SetToplevel(enable)

Arguments:

  • enable - True to cause the frame to automatically come to the front when clicked; false otherwise (boolean)