New Title Bar control [.Net]

Discussion in 'Visual Basic ( VB )' started by ManzZup, Sep 3, 2010.

  1. ManzZup

    ManzZup New Member

    Joined:
    May 9, 2009
    Messages:
    278
    Likes Received:
    43
    Trophy Points:
    0
    Occupation:
    Production Manager:Software @ ZONTEK
    Location:
    Sri Lanka
    Home Page:
    http://zontek.zzl.org
    Hii,

    I juz thought of sharing this title bar i made for an app. No maximize button as its meant for a full screen app. But perfectly ok with a normal app too.

    [size=medium]Usage:[/size]

    1) Download the control

    2) Drag drop the title bar to the toolbox.

    3) Customize the form to suit the control
    @ Make the control box, text, icon properties of the form to false to remove the deafult thing.
    @ A blck bg would suit the title bar most cuz it has round edges and suits more for a full screen app.

    4) Now you have to initialize the control to display the app name, icon (optional) and the mail form.

    in the form load add
    Code:
    
    titlebar.setForm("Your application name", me,  "image file for the icon ex: my.resources.icon" )
    
    
    
    setForm method: +1 overload

    setForm(ByVal frm as Form, ByVal name as String)
    setForm(ByVal frm as From, ByVal name as String, ByVal icn as Image)

    Screens:
    [​IMG]



    dont forget to make the dock property to top so that the title bar rezises like the real one :D


    Hope ya like it :D
    cyah
     
    Last edited by a moderator: Sep 4, 2010
    virxen and shabbir like this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice