Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Modal progress dialog

From: anton:wilddsl:au at: 15-Apr-2006 2:50

Hi Andrew, the reason is that the set-progress function body code is bound to the my-progress-dialog object when it is made (by MAKE). So you are unintentionally doing [show-popup lay] instead of just show. You can refer to the global SHOW function like this: set-progress: func [val][ progress-bar/data: val system/words/show progress-bar ] but I would advise against redefining the globals SHOW and HIDE as it will probably just lead to confusion. Up to you, though :) Anton.