Results 1 to 2 of 2

Thread: Status bar text [Resolved]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2003
    Posts
    127

    Status bar text [Resolved]

    Is there an easy way that can be explained on how to get vb.net to show text in the status bar when the curser is passed over a menu item and sub menu item?

    For example: clicking and then hovering your mouse on the word File brings up the text "Contains commands for working with the selected items."..... then when you hover the mouse down to the sub menu items with out clicking on them the text in the status bar changes to the description of what each sub menu item does.
    So far I have only got it to work by using the following code and it only works one time when the item is clicked on, it won't change the text when the mouse is moved to another item. I think there would need to be a response to MenuItem2 like a mouse over or something that would work but I haven't been able to come up with it either with just StatusBar1.Text or StatusBarPanel1.Text to specifically put the text in the first panel.


    Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click

    StatusBar1.Text = "This text shows in the status bar!"

    End Sub

    Thanking those that reply in advance.
    Last edited by teamdad; Jun 13th, 2004 at 08:15 PM.

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    you have to derive your own menu's from the current one
    and invent a "MouseOver" for your menu's
    is it easy? no
    can it be done this way, yes

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