View Single Post
02-04-15, 09:34 AM   #11
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 194
Originally Posted by odjur84 View Post
Hi!

Can you tell me how to omit the name if I want to have access to further arguments? Because

Code:
newButton = CreateFrame("Button", , ORC_UserFrame);
throws an error message.
Just use nil:
Code:
newButton = CreateFrame("Button", nil, ORC_UserFrame);
  Reply With Quote