Author Topic: Confirmation on popuplist selection change  (Read 3716 times)


  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 55
    • View Profile
Confirmation on popuplist selection change
« on: April 13, 2012, 04:22:29 AM »
Trying to get a confirmation window to appear using an NGUI tween when a popuplist changes, which would then make the change on ok being pressed on revert to the previous value when cancel is pressed.

Have a similar mechanism working with a generic confirmation window using UIButton tween, but can't find the equivalent for the popuplist. Is a way of doing this  ?

We also need to make windows that use tweening to open, from code and at the moment have made the play method in UIButtonTween public, which is a bit naff. Is there a "supported" way of doing this ?

Thanks in advance



  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Confirmation on popuplist selection change
« Reply #1 on: April 13, 2012, 03:02:32 PM »
Change the popup list to a popup menu instead (remove its reference to the label), and in the change notification function do your confirmation, then manually set the value of the label.