Hi,
I would like to call the same function in a script object from different events.
As I cannot make layout changes in the ready:layout event I would like to find out in the function: Which event called me?
event.name gives me the event name nicely for most events. (Although the returned strings are somewhat peculiar....)
But: The ready:layout-event as well as the ready:form-event both give me "Open".
Therefore I would like to know:
How can a function tell whether it was called from ready:layout or from ready:form?
I suppose there is a much simpler solution, than trying "event.name".
Ulrich