Results 1 to 9 of 9

Thread: Tooltip Text

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Tooltip Text

    hello!
    does anyone how give my objects such button, text, label, etc.
    to view tooltiptext, i can't find in their properties.
    this is a simple question but i think their attributes its missing.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Tooltip Text

    You have to add a ToolTip component to the form first. This will then add a new psuedo-property to each control that allows you to set the text to be displayed in the ToolTip for that control. There are a few controls that provide there own tool tips, such as the TabControl for each tab, but the majority of controls require a ToolTip component on the form. Note that you never need more than one ToolTip component unless you want the appearance to differ between controls.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: Tooltip Text

    this is no good, it must be built in like in vb6

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: Tooltip Text

    hello! jmcilhinney,

    how about mouseover button, like in toolbar...
    there is a built in mouse overbutton like that?

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Tooltip Text

    You are getting all excited about nothing. Create a form, add a Button, add a ToolTip and set the Button's ToolTip on ToolTip1 property to "Hello World". Run the project and mouse over the Button and "Hello World" will appear in a tool tip box, just like you'd expect.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: Tooltip Text

    i already solved tooltiptext,tnx to u
    nope its not like that, what i mean is, a button just like in toolbar, but not a toolbar its a command button.
    u get it?

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Tooltip Text

    I have no idea what you mean. What functionality is it that you want that the Button class doesn't provide as is?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: Tooltip Text

    pls. see atached file, for your reference
    as you can see when mouseover it show the button.
    Attached Images Attached Images  

  9. #9
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: Tooltip Text

    There is a flatstlyle property in a button set this to FLAT or POPUP.

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