"dynamic label" on button hover (highlight)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • bmeouf
    Forum Member
    • Jul 2005
    • 7

    "dynamic label" on button hover (highlight)

    hello! i cant seem to figure out how to accomplish something... and was hoping someone with experience might be able to help!

    i would like to have a create a label that contains information about each button action when the button is hovered over (or highlighted)...

    that is to say...
    if i were to create a page with four buttons, i would like to create a label that would say things specific to each button when i hover over them. like button one could say "Install Application" button two could say "View Documentation" button three: "Visit Online", etc.

    does anyone know how to achive this, or a workaround to get similiar results? where do i specify actions for hover (highlight) status??

    thank you for taking the time to read this, i hope someone can help!
  • Dermot
    Indigo Rose Customer
    • Apr 2004
    • 1791

    #2
    You need to use the button's On Enter and On Leave actions. See the attached example.
    Last edited by Dermot; 11-14-2009, 09:35 PM.
    Dermot

    I am so out of here :yes

    Comment

    • Dermot
      Indigo Rose Customer
      • Apr 2004
      • 1791

      #3
      Just another thought, if you want to display a lot of text or you need to wrap the text then use a Paragraph object instead of a label. You just need to change the code a little.

      Paragraph.SetText("ButtonInfo", "The mouse is over button 1")
      Dermot

      I am so out of here :yes

      Comment

      • bmeouf
        Forum Member
        • Jul 2005
        • 7

        #4
        Originally posted by Dermot
        You need to use the button's On Enter and On Leave actions. See the attached example.
        this is perfect! thank you so much!
        do you know how i would disable those click sounds in this example??

        Comment

        • bmeouf
          Forum Member
          • Jul 2005
          • 7

          #5
          i just answered my own question about the highlight sounds. ha.
          thank you again for your great help!

          Comment

          • bmeouf
            Forum Member
            • Jul 2005
            • 7

            #6
            Not Quite Working

            ignore this reply
            Last edited by bmeouf; 07-11-2005, 05:22 PM.

            Comment

            • Dermot
              Indigo Rose Customer
              • Apr 2004
              • 1791

              #7
              Works the same with an image. See the updated example attached.
              Last edited by Dermot; 11-14-2009, 09:35 PM.
              Dermot

              I am so out of here :yes

              Comment

              • bmeouf
                Forum Member
                • Jul 2005
                • 7

                #8
                thank you

                Comment

                Working...
                X