FYI (not that it matters) I am using Ubuntu, not Windows. There are so many versions of Windows Vista and Windows that it is confusing. I don't know what each inferior-sounding version has left out compared to the superior-sounding versions. I don't have the time to research through all of the marketing waffle and buzz words either.
Actually I don't feel comfortable getting Windows at all because they seem to be playing some stupid shenanigans with all the stupid editions: "Home", "Home Premium", "Professional", "Ultimate" ... I mean, are they taking the p***?! Is it a joke? Are these people adults? Do they have driving licenses... scary! I can just see me in a parallel universe, perhaps I got drunk and made a silly snap purchase of "W7 Home Edition" (gee, that sounds so crappy compared to "Ultimate Edition", I don't feel like a real man anymore for even imagining I would buy such a wimpy sounding OS), but anyway, there I am staring at the pop-up ... "To use this feature you need to upgrade to the Ultimate Edition". What a headache. I think I would have a cerebral aneurism. You would hear me screaming in Canada. 2009/11/10 Don Guinn <[email protected]>: > I tried your foo1 and I couldn't get it to fail. I'm running VISTA. If you > are running under Windows you might want to look at > http://www.jsoftware.com/jwiki/Guides/Windows%20Progress%20Dialog as it > gives you a way to interrupt a long running task. > > On Tue, Nov 10, 2009 at 6:35 AM, David Mitchell <[email protected]>wrote: > >> psel is what I use: >> >> foo1=: 3 : 0 >> wd 'psel proge' >> wd 'set info ',": y >> wd 'set ccprogress ',": y >> ) >> >> -- >> David Mitchell >> >> Matthew Brand wrote: >> > "I am trying to understand how it works so I wrote this" ... well >> > actually I mainly copy/pasted it from pASepProgressBar :-). >> > >> > 2009/11/10 Matthew Brand <[email protected]>: >> >> I can't get the pASepProgressBar class to work. >> >> I am trying to understand how it works so I wrote this: >> >> wd 0 : 0 >> >> pc proge; >> >> xywh 6 16 172 11;cc ccprogress progress ws_border; >> >> xywh 6 3 173 10;cc info static;cn ""; >> >> pas 6 6;pcenter; >> >> rem form end; >> >> pshow; >> >> set info 50 >> >> ) >> >> wd 'set info 40' >> >> If I highlight it all and press ctrl-R then it works as expected with >> the >> >> info label set to 40. >> >> But if I try to run wd 'set info 40' after that, I get an error: >> >> wd 'set info 40' >> >> |domain error: wd >> >> | wd'set info 40' >> >> |[-0] >> >> wd 'qer' >> >> bad id : 0 >> >> How do I tell the wd command that I am referring to the info control >> inside >> >> the window (parent?) proge? >> >> What should I write instead of: >> >> wd 'set info 40' >> >> Thanks, >> >> Matthew. >> >> >> >> 2009/10/11 David Mitchell <[email protected]> >> >>> For Windows, there is this: >> >>> >> >>> http://www.jsoftware.com/jwiki/Guides/Windows%20Progress%20Dialog >> >>> >> >>> or the WD object progressbar: >> >>> >> >>> http://www.jsoftware.com/help/user/wd_commands.htm >> >>> >> >>> You can see the WD progress bar in action in the "controls" demo on the >> >>> bottom >> >>> of the "selects" tab. >> >>> -- >> >>> David Mitchell >> >>> >> >>> Matthew Brand wrote: >> >>>> Is there a library of "widgets" or does anybody have any code that can >> >>>> display some kind of progress bar. >> >>>> E.g. >> >>>> >> >>>> init_progressBar_ 10 NB. there will be 10 steps to 100% completion >> >>>> >> >>>> for_i i.10 do. >> >>>> NB. do calculation step here... >> >>>> update_progressBar_ i NB. alter progress bar to position i >> >>>> end. >> >>>> >> >>>> end_progressBar_ '' NB. stop displaying the progress bar. >> >>>> >> >>>> Just thought I would ask if this already exists before trying to write >> >>>> something to do it. >> >>>> ---------------------------------------------------------------------- >> >>>> For information about J forums see >> http://www.jsoftware.com/forums.htm >> >>>> >> >>> ---------------------------------------------------------------------- >> >>> For information about J forums see http://www.jsoftware.com/forums.htm >> >> >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
