Results 1 to 8 of 8

Thread: Add '?' button to form top.

  1. #1

    Thread Starter
    Lively Member Xcoder's Avatar
    Join Date
    Jan 2004
    Posts
    120

    Add '?' button to form top.

    How can I add a question mark (?) button next to the minimize, maximize and close buttons at the top of a form?

    Thanks
    Last edited by Xcoder : 09-10-2001 at 12:45 AM.

  2. #2
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Add '?' button to form top.

    Quote Originally Posted by Xcoder
    How can I add a question mark (?) button next to the minimize, maximize and close buttons at the top of a form?

    Thanks
    This might help: http://www.helpscribble.com/dotnet.html

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Add '?' button to form top.

    Its built into .NET forms.

    Set the forms .HelpButton property to true, but you also need to set the maximized and minimized buttons to false in order to get the help button to show up.

    If that is not an option, you will have to look to some API for adding a button to the title bar.

  4. #4

    Thread Starter
    Lively Member Xcoder's Avatar
    Join Date
    Jan 2004
    Posts
    120

    Re: Add '?' button to form top.

    Quote Originally Posted by stanav
    Thanks stanav, but Im planning on using this:
    http://www.codeproject.com/cs/miscct...loonwindow.asp with the question mark button.
    Last edited by Xcoder : 09-10-2001 at 12:45 AM.

  5. #5

    Thread Starter
    Lively Member Xcoder's Avatar
    Join Date
    Jan 2004
    Posts
    120

    Re: Add '?' button to form top.

    Quote Originally Posted by kleinma
    Its built into .NET forms.

    Set the forms .HelpButton property to true, but you also need to set the maximized and minimized buttons to false in order to get the help button to show up.

    If that is not an option, you will have to look to some API for adding a button to the title bar.
    Thanks, will look into that.
    Last edited by Xcoder : 09-10-2001 at 12:45 AM.

  6. #6
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: Add '?' button to form top.

    Quote Originally Posted by Xcoder
    How can I add a question mark (?) button next to the minimize, maximize and close buttons at the top of a form?

    Thanks
    Hi,

    You can do just this;

    VB Code:
    1. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    2.  
    3.         MaximizeBox = False
    4.         MinimizeBox = False
    5.         HelpButton = True
    6.  
    7.     End Sub

    Wkr,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  7. #7
    Lively Member
    Join Date
    May 2000
    Location
    Iowa USA
    Posts
    118

    Re: Add '?' button to form top.

    I use a grid from a company that does what you are talking about, it is a ActiveX control though and cost money.

    http://www.10tec.com/home/Products/A...onX/index.aspx

  8. #8
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: Add '?' button to form top.

    Quote Originally Posted by Dean_Reedy
    I use a grid from a company that does what you are talking about, it is a ActiveX control though and cost money.

    http://www.10tec.com/home/Products/A...onX/index.aspx
    Hi,

    I found a link about ActiveX controls, perhaps it could be useful;

    http://msdn.microsoft.com/library/de...node_entry.asp

    Hope it helps,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

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