Game Development Community

Help with Drag&Drop

by Alfio Saitta · in Torque 3D Professional · 04/29/2010 (2:33 am) · 1 replies

I was trying to subclass a GuiBitmapButtonCtrl to add Drag&Drop features, taking as inspiration the control GuiSwatchButtonCtrl. So first, i thought to try it (the GuiSwatchButtonCtrl), and i have noticed that... the component works fine until i try to push my GuiWindowCtrl. If i try the component in GuiEditor works fine. Can someone explain why?


#1
05/05/2010 (5:36 pm)
Looks like it could be working, its just sometimes underneither the other controls, i think its pull/push front/back ... there are methods you can call on a control to adjust its 'layer' so to speak.