We all know that we can't show UI things from Starter (or any services really), like MsgBox etc. (Toasts are an exception for some reason, but for this thread I'll ignore them.)
Let's say I have a class in Starter. Then that class won't be able to use MsgBox etc. And if that class has a class in it, that in turn has a class in it, then that can't show MsgBox etc. You know, it's not possible, because they all inherit the Starter context.
So my question is this:
Is there a way for a sub to detect if it's in a Starter (or other service) context and thus cannot show MsgBox etc?
Let's say I have a class in Starter. Then that class won't be able to use MsgBox etc. And if that class has a class in it, that in turn has a class in it, then that can't show MsgBox etc. You know, it's not possible, because they all inherit the Starter context.
So my question is this:
Is there a way for a sub to detect if it's in a Starter (or other service) context and thus cannot show MsgBox etc?