Hi All,
I’m getting the Javascript error in my App. It makes no difference to the functionality of the App, from my observations there
are no negative impacts when it occurs. It’s quite random and happens intermittently and so far I haven’t been able to fix it.
It does occur when going from one window to another but I’ve ensured all my code is in or after the shown event of the window as
many of the posts here have suggested.
I think I know the answer to this, but is there any way we can just block the error message from appearing ? It makes the app
look amateurish from the users point of view when an error message pops up randomly.
Alternatively is there any way to examine the error message and know which of my controls it refers to using …
Source: Xojo.controls[‘CMViu8TW’].object().style.left = ‘155px’;… If I knew which control it was I could fix it.
Error: Could not execute returned javascript: null is not an object (evaluating ‘Xojo.controls[‘CMViu8TW’].object().style’)
Source: Xojo.controls[‘CMViu8TW’].object().style.left = ‘155px’;
Xojo.controls[‘CMViu8TW’].refresh();
Xojo.controls[‘CMViu8TW’].object().style.top = ‘299px’;
Xojo.controls[‘CMViu8TW’].refresh();
User Details:
Many thanks for any help.