Results 1 to 5 of 5

Thread: mouseover to get info

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2006
    Location
    Jerusalem
    Posts
    39

    mouseover to get info

    hello,
    Im trying to show info like text when i put the mouse over a specific button at run-time .. shall I use a textbox and make it hidden till i put the mouse over the button or is there an easier way ?.. hope thats clear enough .. thanks in advance

  2. #2
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: mouseover to get info

    I'm not sure exactly what you mean, but if you make your text box hidden, I don't think the program will detect a mouse over, as it's not technically there... If you need it to be the type of thing where the user has to know where to move the mouse to get information, use a label with BackStlye set to Transparent... that way it's not as obvious that iit's there, but you can still activate whatever you need on MouseOver.

  3. #3
    Frenzied Member Andrew G's Avatar
    Join Date
    Nov 2005
    Location
    Sydney
    Posts
    1,587

    Re: mouseover to get info

    Use the ToolTipText property to set the text to be displayed. The control will then automatically display the text when the mouse moves over it

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: mouseover to get info

    If you have lengthy text that needs to be displayed then I would suggest checking out Wokawidgets custom tooltip class in our CodeBank.

    (Congrats on 1K Andrew G )

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2006
    Location
    Jerusalem
    Posts
    39

    Re: mouseover to get info

    thank you guys.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width