Main Stack scripts
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Main Stack scripts
I have a few message handlers in the main stack script of my application since they aply to every card in every stack in my application.
When I'm in browse mode, It seems that messages from the Revolution IDE are being passed to those handlers which seems a little weird to me. It doesn't cause any problems in my application because the handlers have code in them that happens to exclude the IDE messages but is this normal behaviour and if so, is there a way to disable that behavior?
Thanks,
Pete
When I'm in browse mode, It seems that messages from the Revolution IDE are being passed to those handlers which seems a little weird to me. It doesn't cause any problems in my application because the handlers have code in them that happens to exclude the IDE messages but is this normal behaviour and if so, is there a way to disable that behavior?
Thanks,
Pete
Hi Pete,
Probably, this is normal, but because you don't tell us which messages you are dealing with, I can't really answer your question nor provide a good solution.
Best,
Mark
Probably, this is normal, but because you don't tell us which messages you are dealing with, I can't really answer your question nor provide a good solution.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Any further input on this?
I have a selectionChanged handler which ends up as a front script. Should only be executed when I'm in run mode, but it ends up being called when I'm in edit mode on a card and, not surprisingly fails most of the time.
Is there a property I can check to see if I'm in edit mode or run mode?
Thanks,
Pete
I have a selectionChanged handler which ends up as a front script. Should only be executed when I'm in run mode, but it ends up being called when I'm in edit mode on a card and, not surprisingly fails most of the time.
Is there a property I can check to see if I'm in edit mode or run mode?
Thanks,
Pete