Hello community,
I want to click a button on another page (with B4XPages) via code 1 time per minute.
The button is in a class called "Modul_30".
The button is called "L30_SwiftButton_02".
If I click the button with "L30_SwiftButton_02_Click" on this page, everything works.
But when I click this button with "M30.L30_SwiftButton_02_Click" from another page, the following error message is shown:
java.lang.RuntimeException: Class instance was not initialized (modul_30).
Does anyone know how I can click a button on another (non-visible) page from a visible page?
Thank you in advance for your tips and help.
I want to click a button on another page (with B4XPages) via code 1 time per minute.
The button is in a class called "Modul_30".
The button is called "L30_SwiftButton_02".
If I click the button with "L30_SwiftButton_02_Click" on this page, everything works.
But when I click this button with "M30.L30_SwiftButton_02_Click" from another page, the following error message is shown:
java.lang.RuntimeException: Class instance was not initialized (modul_30).
Does anyone know how I can click a button on another (non-visible) page from a visible page?
Thank you in advance for your tips and help.