Results 1 to 3 of 3

Thread: Tooltip ballon in a plugin vb.net

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,867

    Tooltip ballon in a plugin vb.net

    Hello all,
    I try to play with the tooltip into a plugin.
    My goal is to create a little plugin that see a tooltip when i am over a button (use the mouse)!
    I have no contral where attach the tooltip , so i define some zones from the RR screen .
    So i have tried that but without success:
    Code:
        Public Function ProcessCommand(ByRef CMD As String, ByRef frm As Object) As Short
            'définition du tooltip
            Dim g_toolTip As ToolTip = Nothing
            g_toolTip = New ToolTip()
            g_toolTip.AutoPopDelay = 5000
            g_toolTip.InitialDelay = 1000
            g_toolTip.ReshowDelay = 500
            g_toolTip.ShowAlways = True
            g_toolTip.IsBalloon = True
    
            Select Case LCase(CMD)
                Case "rrtooltip"
                    g_toolTip.Show("Hi", frm.tag, New Point(5, 5), 2000)
                    ProcessCommand = 2
    
            End Select
    
        End Function
    I have also tried:
    Code:
    g_toolTip.Show("Hi", frm.B, New Point(5, 5), 2000)
    Thanks for your help

  2. #2
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,263
    1st stop with commands/indicators/labels starting with the prefix RR
    they are Reserved for RR

    tooltips are for form controls...

    just make your own borderless forms, size them correctly (by code), position them by code, and show them
    then a timer inside, to close... or when mouse moves away.. or what ever you want...
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  3. #3
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,867
    Sorry, for the rr that was just an example mitchjs .
    Thanks for your help !

Similar Threads

  1. How to disable ballon tips?
    By Wagonmaster in forum Software & Software Development
    Replies: 6
    Last Post: 03-30-2009, 09:01 PM
  2. Replies: 6
    Last Post: 03-08-2009, 02:05 PM
  3. Replies: 6
    Last Post: 02-06-2009, 09:32 AM
  4. Replies: 16
    Last Post: 01-02-2006, 08:04 PM

Bookmarks

Posting Permissions

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