Results 1 to 8 of 8

Thread: [RESOLVED] Question on CoolBar

  1. #1

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Resolved [RESOLVED] Question on CoolBar

    Hello. This may sound silly, but how can I add buttons to a coolBar. I saw other vbforums threads about coolbar, but I was not able to see any reference about adding buttons.

    What I want to do is a coolbar, very like the VB6 has. (New, Open, Save, ...)
    How can I do this?

    Thank you.

  2. #2
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    Re: Question on CoolBar

    You can use an ordinary toolbar then make it look like a coolbar.

    Click Here

  3. #3

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Re: Question on CoolBar

    That's ok, but it does not have the look I want. What I want to do is coolbar, with coolbar style.

    Thank you Zynder, anyway.

  4. #4
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Question on CoolBar

    The Coolbar is a container control that usually has two or more "Bands".
    Each Band can only contain a single control. That control, typically a Toolbar or PictureBox, is the one that contains your application's buttons.

  5. #5
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    Re: Question on CoolBar

    It looks a coolbar to me. Well you could draw it to complete the coolbar effect. I havent tried it but i think you can put it insde the coolbar using setparent API.

  6. #6

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Re: Question on CoolBar

    For example, in VB6 Editor, each band of the CoolBar, has more than one picture?
    Then, when you pass over the mouse, the buttons get a 3D effect, right?
    How can I have that effect?
    (PS: If I don't use a CoolBar, my app will not pass in a certification control , wich, in many other things, is based on the look of the app.)

    Thank you

  7. #7
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Question on CoolBar

    Use the Toolbar control to hold the buttons.
    Put the Toolbar controls onto a Band in the Coolbar.

    Here check out this sample Form.
    Attached Files Attached Files

  8. #8

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Re: Question on CoolBar

    Thank you Brucevde. That's just what I was looking for!
    Thank you once again.


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