Results 1 to 7 of 7

Thread: toolbar prob

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157

    Post toolbar prob

    hy, can anyone give me an example of a toolbar .. which includes buttons with pictures!!

    my prob is i cant get the pics into the buttons!!

    thx!
    Old enough to know better,
    but young enough to don't give a ****!

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    you have to add images to an ImageList, then bind the ImageList to the ToolBar.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Hyperactive Member
    Join Date
    Jan 2000
    Location
    Edinburgh, Scotland
    Posts
    272
    Have you got your button images in an imagelist? If so, then go to the properties on the toolbar (right-click it and choose properties). Bind the imagelist to the imagelist property on the general tab, and then click on the buttons tab. In the image property, type the number of the image in your imagelist.

  4. #4
    Addicted Member goudabuddha's Avatar
    Join Date
    Jun 2001
    Location
    Somewhere cheesy
    Posts
    203
    what kind of toolbar is this? my friend and i use special flatbutton control that he developed and put them in a row to make our toobars 'cause the control works really well. basically if you're trying to make a toolbar look very graphical i recommend using buttons. if you just want pictures then too bad for you.

  5. #5
    Frenzied Member numtel's Avatar
    Join Date
    Apr 2000
    Location
    CA
    Posts
    1,163
    Here's the control

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157

    ..

    no i've got nothing like a picturelist or else!

    i don't get this already ... could anyone post a demo or else!

    thx Longbow
    Old enough to know better,
    but young enough to don't give a ****!

  7. #7
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    imagelist is a control. It's under Microsoft Common Controls.

    To insert, click on project --> components.

    Scroll down the list and select Microsoft Common Controls.

    Then, on your toolbar, double-click on the imagelist button (it's a little white square thing).

    To insert images, right-click on the imagelist control that you've just drawn on your form. Click on properties. In there, you can add images.

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