Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

[2] Toolbar Control

Last post 01-19-2007 7:55 PM by vblife2003. 13 replies.
Page 1 of 1 (14 items)
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [2] Toolbar Control

    This thread is for discussions of Toolbar Control.

    • Post Points: 70
  • Advertisement

    • Red Gate Software

    Advertisement

    Want to boost your .NET application performance?

    Some developers always seem to write efficient and lightening-fast code. What is their secret? It’s ANTS Profiler. “We improved the performance of the application up to 10 times” Dan Ports, Intrigma.

    Try it for yourself now.

  • 01-09-2002 6:15 AM In reply to

    • muhammad
    • Not Ranked
    • Joined on 01-09-2002
    • New Member
    • Points 5

    Same to do in VC++ 6.0

    I am trying to do the same thing. I have inserted both control in my project. And then insert them on my dialog. I do the same steps as I do in VB to set the properties.

    But when I got to the properties of toolbar control I cant see the imaglist ID there, it is on ly <NONE>. How can I make my image list control to appear in that list??

    Any idea?

    Help will be appreciated.

    Thanxs
    • Post Points: 0
  • 04-04-2002 8:52 AM In reply to

    Richtextbox

    James Crowley has mentioned :
    Toolbar1.Buttons("Underline").Selected = Abs(RichTextBox1.SelUnderline)

    With the release of Visual Studio .NET, this topic is no longer being updated.
    SelBold, SelItalic, SelStrikethru, SelUnderline Properties.

    So if u try to use it will give u error saying , not a memeber of richtextbox.

    Pls wait till its updated.....

    Arvind
    • Post Points: 0
  • 05-12-2002 3:20 PM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 15,030
    • SystemAdministrator
    • Post Points: 0
  • 07-11-2002 9:01 AM In reply to

    no selected property in toolbar button

    r u sure there is a 'selected' property for toolbar button. i am unable to find it. infact there is no "buttons" thing . r u talking abt IE webcontrols or something else?

    sandeep
    • Post Points: 0
  • 07-19-2002 11:47 AM In reply to

    • sholana
    • Top 500 Contributor
    • Joined on 10-29-2001
    • Member
    • Points 300

    ok here we go!!

    Private Sub RTB_Change()
       Toolbar1.Buttons("Bold").Value = Abs(RTB.SelBold)
    End Sub
    Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
       Select Case Button.Key
       Case "Bold"
           If RTB.SelBold = True Then
               RTB.SelBold = False
           Else
               RTB.SelBold = True
           End If
           RTB_Change

    End Sub
    • Post Points: 0
  • 08-27-2002 8:05 AM In reply to

    • RAJAH
    • Not Ranked
    • Joined on 08-27-2002
    • New Member
    • Points 5

    Simply Superb

    Fr From rajah,

     The code to enabled and disabled the toolbars button is simply superb,i have searched the entire web but this is the only web where i found this simple code.

    Thanks  You Very Much
    • Post Points: 0
  • 03-03-2003 4:09 AM In reply to

    Excellent

    from last 15 days i was searching the toolbar controls ie how to change the images on the buttons of inserted toolbar because i am a new user for vb at last i get here and that to a great satifactory leval thank you very much...
    • Post Points: 0
  • 05-18-2003 1:26 AM In reply to

    • woon
    • Not Ranked
    • Joined on 03-09-2003
    • Junior Member
    • Points 240

    coding for toolbar

    i've set up the toolbar.....but how to code the buttons so that they will serve their purposes. eg: coding for save, cut, paste, undo , redo, etc....

    thanks
    • Post Points: 0
  • 09-05-2003 3:36 AM In reply to

    • ocanse
    • Not Ranked
    • Joined on 09-05-2003
    • New Member
    • Points 5

    toolbar code

    HI all

    this is my code en c# ,
    I have six button but they no working .

    private void toolBar1_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e)
    {

    }

    who can help to put them to work,

    thanks you
    • Post Points: 0
  • 10-03-2003 1:20 AM In reply to

    • donkey
    • Not Ranked
    • Joined on 10-03-2003
    • New Member
    • Points 5

    TBPaint

    FYI, if you want to do your own Toolbar graphics I have a freeware toolbar paint program that allows you to create imagelists quickly and easily. You can import icons, individual images from other imagelists or even toolbars directly from exe's or dll's. It is a full paint package as well. Written entirely in assembler it requires no runtimes or support files and weighs in at under 40K. Check it out at:

    http://donkey.visualassembler.com/

    PS sorry for this shameless plug but I was googling for something and came across your board.
    • Post Points: 0
  • 04-05-2005 12:17 AM In reply to

    • skomali
    • Not Ranked
    • Joined on 04-05-2005
    • New Member
    • Points 5

    Problem with diabling images in the tool bar

    Hi!
    I am using a imagelist with a toolbar and when I am trying to disable an image in the tool bar the image is getting completely faded (no image is being displayed but simply a complete gray section is being displayed). However I want the image to be displayed in a shaded mode (similar to a general disabled image). Is there anything I need to do this? I appreciate your quick help.
    Thanks in advance.

    Regards,
    Satish.
    • Post Points: 0
  • 07-10-2006 9:13 PM In reply to

    • 3nter
    • Not Ranked
    • Joined on 07-10-2006
    • New Member
    • Points 5

    Re: [2] Toolbar Control

    How would i resize the button if i had the text align to the right.

    for some reason when i try to change the width it switches right back to the width of whichever button that would have the longest amont of characters.

     

    • Post Points: 5
  • 01-19-2007 7:55 PM In reply to

    Re: [2] Toolbar Control

    Hi,

    I am trying to create keyboard shortcuts for toolbar buttons in VB.NET. Eg. For a button titled Manual I am setting the Text property to '&Manual'. In run mode when I press Alt+M, the underline of Manual becomes visible and nothing happens - the click event of the button is never fired. What am I missing?

    Thanks

    • Post Points: 5
Page 1 of 1 (14 items)