NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 27 28 29 30 31 … 93 Next »
Closing Deactivating popups with handlePopupCallback

 
  • 0 Vote(s) - 0 Average
Closing Deactivating popups with handlePopupCallback
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2008-12-09, 08:02 AM
How do I do this properly??

I handle the command, and have been
setPopup = null and I've even been nulling the popup object.

The trouble is is if I then restart the popup, it keeps running the last actioned command (so normally a "stop") - so as soo as the popup is showed the handlePopupcommand is fired with "stop" again.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2008-12-09, 08:08 AM
I definitely don't get that happening to me. Are you reusing your popup class or are you using a new constructor each time?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#3
2008-12-09, 08:27 AM
I think I might be reusing it...

Do you construct each time?
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#4
2008-12-09, 08:33 AM
Yes I do. And since I'm a self taught programmer, let me make sure I'm using the right terminology. Whenever I call the popup, I use setPopup = new MyPopup();

Then I setPopup = null after I get the command callback of course.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2008-12-09, 08:38 AM
yeah thats the correct terminology... I think I had that but might have got rid of it one day....

I'll try again..cheers
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  GBPVRX2.Popups.PopupBase don't close on button press psycik 2 1,440 2008-11-03, 07:35 AM
Last Post: psycik
  GBPVRX2.Popups.PopupBase - GetBackgroundArgs() psycik 5 2,093 2008-10-30, 08:49 AM
Last Post: whurlston
  GBPVRX2.Popups.PopupBase - exited, still triggering callbacks psycik 6 2,274 2008-09-30, 11:50 PM
Last Post: psycik
  Custom popups? bgowland 2 1,770 2008-05-11, 12:26 AM
Last Post: bgowland
  Horizontal buttons in popups. whurlston 6 2,267 2008-03-30, 12:19 PM
Last Post: roy
  Memory management - controls and popups JavaWiz 2 1,909 2008-01-06, 02:48 AM
Last Post: JavaWiz
  'Please wait...' type popups? bgowland 8 2,980 2007-10-26, 02:14 PM
Last Post: bgowland

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode