Hello,
as you already know, you can use a timer to trigger a certain action with a delay of 10 sec. This is the right approach to do that.
There is no possibility to make a delay of 10 sec within a method - and there are good reasons for that: Please consider, that a simple delay within a method would cause a blocking of the entire GUI application for that time period. No user inputs are processed during this time and all animations are blocked for that time span...
Due to the fact that the entire GUI application is running in a cooperative model, the processing of the main loop should not be blocked.
I hope this helps....
Best regards,
Manfred.