I want to know how I can perform the action right after I type a key on the keyboard an image appears, and in a few seconds it will disappear, if I press a key on the keyboard again it appears again.
Announcement
Collapse
No announcement yet.
Imagen appear for a few seconds then disappear automatically, does anyone know?
Collapse
X
-
I think that you already received sample code which shows how you can detect if a key was pressed. You also can find information how to show and hide an image, by checking the product documentation - see Image.SetVisible().
If you want to hide the image automatically after a certain amount of time after showing, start a timer when displaying it. Once the timer ends, it generates an event for the On Timer script, where you can hide the image again, and stop the timer. The time can be defined as needed, check the documentation for Page.StartTimer() and/or DialogEx.StartTimer().
Ulrich
- Likes 1
-
Originally posted by Vanderlei Mendes View PostI want to know how I can perform the action right after I type a key on the keyboard an image appears, and in a few seconds it will disappear, if I press a key on the keyboard again it appears again.
Attached Files
Comment
-
Comment