Results 1 to 3 of 3

Thread: UPDATED !!! CustomizableStatusBar

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    8

    Smile UPDATED !!! CustomizableStatusBar

    UPDATED 14/2/07 - to remove a couple of bugs.

    This idea came about when I had finished an app and wished that I had made the font bold to make it easier to read, or blue instead of boring black.

    Although these can be set at design time, it's nice to be able to change things at runtime !

    CHECK OUT THE ATTATCHED JPG

    I have added btn by the sizing grip which opens / closes the menu ( as does Alt M ) instead of right clicking the StaBar. The reason for this was that with no sizing grip showing, I think that the wide margin looked ugly !

    StaBar:
    Backcolour
    Show/hide the sizing grip
    Professional ( Msg/Time/Date Backcolour take on the StaBar Backcolour)
    System ( Msg/Time/Date Backcolour have their own Backcolour)
    Msg/Time/Date:
    Backcolour
    Fontcolour
    Font bold/regular
    Date:
    Short
    Long
    English with date suffix ( Wednesday 23rd December 2007 )

    As I said in my 1st post I like it, that's all that matters isn't it ?????
    I welcome any comments / suggestions, although they may not be acted on !!!!!

    Code:
    *********** VISUAL BASIC 2005 FRAMEWORK 2 ************
    '// Copy the files (.dll, .res)to your output dir ( \debug or \release ) where the exe is
    '// Add a reference to it from solution explorer
    '// Then use it like this
    
    Public Class Form1
       Dim StaBar As New UCStaBar.UCStaBar
    
       Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles  
    Me.Load
          Me.Controls.Add(StaBar)
          '// Use in this form to display any messages !!!
          StaBar.Msg = "TESTzzzzzzzzzzzzzzzz"
       End Sub
    End Class
    
    '// Or add it to the toolbox and throw it on the form.
    Attached Images Attached Images  
    Last edited by RobDog888; Jan 11th, 2009 at 03:14 AM. Reason: Removed compiled dll file

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