What happened to my message box?
Howard Bornstein
bornstein at designeq.com
Wed Jun 27 14:14:53 EDT 2012
This is a great idea and it's what I did. It took some fiddling to get it
to work the way I wanted but I now can actually get some work done. Thanks
for the idea.
Btw, do you know of a list of error message numbers so I can make the error
reporting a little more robust?
On Tue, Jun 26, 2012 at 4:32 PM, stephen barncard <
stephenREVOLUTION2 at barncard.com> wrote:
> one can make one's own 'message box' while trying to get a handle on
> this...
>
> create a new stack
> make a field to hold the command(s) - name it "command"
> make a button named 'execute' with this script
>
> on mouseup
> get field "command"
> do it
> end mouseup
>
> add a 'try' structure and error reporting and you have your own custom
> message box. Often I prefer to use my own, which has code formatting and
> coloring, and can execute Shell and Applescript commands too. This method
> doesn't seem to have the oddities of the 'real' message box.
>
> On Tue, Jun 26, 2012 at 4:23 PM, stephen barncard <
> stephenREVOLUTION2 at barncard.com> wrote:
>
> > this is way off the wall and may not be related or work at all, but at
> one
> > time there was this unlisted property called revmessageboxredirect, and
> it
> > changed what is normally sent to the lower part of the message box ( like
> > unrequited puts ) to another field in your stack.
> >
> > " *set* the revmessageboxredirect to empty" will set to "normal" what
> >
> > "*set* the revmessageboxredirect to the long id of me" had set up.
> >
> >
> >
> >
> >> On Jun 26, 2012, at 3:48 PM, Howard Bornstein wrote:
> >>
> >> > Grrr. This bug is back and this time restarting my Mac didn't fix it.
> >> >
> >> > So I'm trying to trace what happens when I type anything into the
> >> message
> >> > box. I've got the script for the message box itself open as well as
> the
> >> > script for the message field.
> >> >
> >> > I've put breakpoints at the rawkeydown handler as well as on the
> >> > ReturnInField handler but I can't seem to make anything trap to the
> >> > debugger.
> >> >
> >> > Shouldn't LC scripts respond like any other scripts when in Script
> Debug
> >> > Mode?
> >> >
> >> > I can't imagine what could be causing this problem. Everything else is
> >> > working normally, including the message box until yesterday.
> >> >
> >> > Any ideas would be appreciated.
> >> >
> >> > --
> >> > Regards,
> >> >
> >> > Howard Bornstein
> >>
> > Stephen Barncard
> > San Francisco Ca. USA
> >
> > more about sqb <http://www.google.com/profiles/sbarncar>
> >
> >
>
>
> --
>
>
>
> Stephen Barncard
> San Francisco Ca. USA
>
> more about sqb <http://www.google.com/profiles/sbarncar>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
Regards,
Howard Bornstein
-----------------------
www.designeq.com
More information about the use-livecode
mailing list