Announcement

Collapse
No announcement yet.

Imagen appear for a few seconds then disappear automatically, does anyone know?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Imagen appear for a few seconds then disappear automatically, does anyone know?


    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.

  • #2
    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

    Comment


    • #3
      Originally posted by Vanderlei Mendes View Post
      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.
      simple of timer hiding
      Attached Files

      Comment


      • #4
        2 exemple with application.sleep
        Attached Files

        Comment

        Working...
        X