View Single Post
10-08-15, 11:57 PM   #12
kurapica.igas
A Chromatic Dragonspawn
Join Date: Aug 2011
Posts: 152
If you create a button from ActionButtonTemplate, you should call ActionButton_OnLoad(btn) to do the init job, or you should use btn:RegisterForDrag("LeftButton", "RightButton") to make sure the drag & receive working.

For binding, you may try SetOverrideBindingClick, it won't clear your ADVANCEDLAYOUTBUTTON1ACTION1's key, and you should use UPDATE_BINDINGS event to update those bindings.
  Reply With Quote