• Creator
    Topic
  • #4397
    sam
    Participant

    Hi,

    Is there any simple way to make a hover type box. Like and on mouse over (show) and on mouse leave (Hide)?

    Thanks

  • Author
    Replies
  • #8080
    Support 3
    Participant

    In general its not intuitive to users to show/hide control on mouse over to some area.

    However, you can do this using the Raize control which has the OnMouseEnter and OnMouseLeave events. Note, once you hide or disable a control then the events will not fire. I will recommend to use a Raize Panel control and place the control you want to hide inside the panel then hide/show the control when the mouse enter/leave the panel.

    Sample code…

    Sub MainDlgRzPanel1MouseEnter(Sender)
      maindlg.edt.visible = true
    End Sub
    
    Sub MainDlgRzPanel1MouseLeave(Sender)
      maindlg.edt.visible = false
    End Sub  
    

    Regards,
    Advansys Support

    #8078
    Support 1
    Participant

    There is no generic Hint/ToolTip control available. However most, if not all, visual controls have a Hint property (text). There is also a matching ShowHint property (true/false) which could be used to support different configurations.

    I hope this helps.

    Regards,
    Advansys Support

    #8079
    sam
    Participant

    HI,

    I’ll be going with the TMemo for multi line purposes.

    And the TImage for the call, which will hold in it’s tag value the message to load 1 = “This help”.

    Thanks

    #8077
    Support 1
    Participant

    Thanks for the clarification and I hope that your implementation goes well.

    Regards,
    Advansys Support

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.