Hello Community,
I am new to Xojo. I am evaluating Xojo for several projects on iOS and desktop (and hopefully Android ).
In my iOS test app:
- I use an iOSTable
- Before filling the table I play a sound
- After the sound played I fill the table with the values
What happens is
- The sound plays 2-3 seconds (good)
- The table is filled up with values before the sound is finish (bad)
I have looked for possibilities (sleep, timer) but found no working solution.
From a thread in this forum I have learned that it is not possible to set the iOS thread to sleep like on the desktop with something like “App.SleepCurrentThread(2000)”
I checked the documentation the Xojo.Core.Timer, created a method and used the timer with CallLater.
The timer and the method work so far that I can set the text of a button to another value.
When I use the same code to fill the table in this method the values of the table are not displayed. The table appears to be empty.
Did I understand something wrong due to lack of knowledge?
Regards
–Christian