Quantcast
WoWInterface - View Single Post - frame blocks keyboard input
View Single Post
04-06-20, 08:45 AM   #2
Lybrial
A Black Drake
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 86
A frame usually does not block keyboard inputs.

Lua Code:
  1. local frame = CreateFrame("Frame", "SomeFrame" _G.UIParent);
  2. frame:SetSize(50, 50);
  3. frame:SetPoint("CENTER");
  4. frame:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background",
  5.                                             edgeFile = "Interface/Tooltips/UI-Tooltip-Border",
  6.                                             tile = true, tileSize = 16, edgeSize = 16,
  7.                                             insets = { left = 4, right = 4, top = 4, bottom = 4 }});

Above code creates a 50 x 50 frame in the middle of the screen.
It wont block any keyboard inputs.
  Reply With Quote