View Single Post
08-01-18, 11:42 AM   #2
MunkDev
A Scalebane Royal Guard
 
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 431
I'd guess the regular action buttons grab their page number from their parent. It's probably defaulting to action bar 1. If you want to use those buttons and refrain from creating your own, it might be a good idea to create one bar frame for each row of buttons.
Lua Code:
  1. parent:SetAttribute("actionpage", num)
This also means that paging on your main action bar won't work unless you use a SecureHandlerStateTemplate with a macro condition to evaluate which action page to show.
__________________

Last edited by MunkDev : 08-01-18 at 11:44 AM.
  Reply With Quote