Is Anyone Having Problems With The Toolbar Control? 
Author Message
 Is Anyone Having Problems With The Toolbar Control?


says...

Quote:
>>Is anyone else having problems with the toolbar control?  Any bitmaps
>>I assign to the individual buttons (via an ImageList control) look
>>terrible.  I'm using the bitmaps supplied with VB4 in the
>>\bitmaps\tlbr_w95 directory.

>For god only knows what reason, black doesn't show up when you load the
>buttons. Assign a caption to one of the buttons (one letter is enough). The
>black part of your icons will miraculously appear.

You may find it easier to set the maskcolor of the imagelist so that
it is either the background color of your buttons (light gray in this case)
or a color not included in your buttons. The maskcolor property is not
documented very clearly, but experiment and you'll see how it works.

-Juha



Fri, 22 May 1998 03:00:00 GMT  
 Is Anyone Having Problems With The Toolbar Control?


Quote:

>Hi all,

>Is anyone else having problems with the toolbar control?  Any bitmaps
>I assign to the individual buttons (via an ImageList control) look
>terrible.  I'm using the bitmaps supplied with VB4 in the
>\bitmaps\tlbr_w95 directory.

>Am I missing something here or doing something incredibly stupid?

>TIA, -Kevin-

You're not doing something incredibly stupid, but you'll have to in order to
get it to work!

For god only knows what reason, black doesn't show up when you load the
buttons. Assign a caption to one of the buttons (one letter is enough). The
black part of your icons will miraculously appear.

Of course now your buttons are huge. After you've removed the caption, set the
button size to zero (or be smart and note what they were before) and they will
resize to the size of the pictures you loaded.

This works for me anyway.

P.S. I discovered this by accident!



Fri, 22 May 1998 03:00:00 GMT  
 Is Anyone Having Problems With The Toolbar Control?
Hi all,

Is anyone else having problems with the toolbar control?  Any bitmaps
I assign to the individual buttons (via an ImageList control) look
terrible.  I'm using the bitmaps supplied with VB4 in the
\bitmaps\tlbr_w95 directory.

Am I missing something here or doing something incredibly stupid?

TIA, -Kevin-



Fri, 22 May 1998 03:00:00 GMT  
 Is Anyone Having Problems With The Toolbar Control?

I think you have to change the mask property or something like that to
something other than black.  It uses the color to do just that, mask
it out.

George


Quote:
>Hi all,
>Is anyone else having problems with the toolbar control?  Any bitmaps
>I assign to the individual buttons (via an ImageList control) look
>terrible.  I'm using the bitmaps supplied with VB4 in the
>\bitmaps\tlbr_w95 directory.
>Am I missing something here or doing something incredibly stupid?
>TIA, -Kevin-

===============================================================================
 George R. Torralba              xxxxxxxxxxxx                  Batang Cebu!!!
 Seattle, Washington             206.241.2801              MIME mail accepted
===============================================================================


Sat, 23 May 1998 03:00:00 GMT  
 Is Anyone Having Problems With The Toolbar Control?

Quote:
>>Is anyone else having problems with the toolbar control?  Any bitmaps
>>I assign to the individual buttons (via an ImageList control) look
>>terrible.  I'm using the bitmaps supplied with VB4 in the
>>\bitmaps\tlbr_w95 directory.

Set the mask color for the image contorl that's connected to the
toolbar to light grey.  That will solve your problem.

 - Doctor Random
*** ClubWin Support Member ***
CI$: 74541,2174

www: http://www.mcs.com/~cygnus/
________________________________
*****************************************
*** I will choose a path that's clear ***
***     I will choose free will       ***
*****************************************
Lyrics from the song Freewill, by Rush from
the their release entitled Permanent Waves.

**********************************************************
*** Quick to judge, quick to anger, slow to understand ***
*** Ignorance and prejudice and fear walk hand in hand ***
**********************************************************
Lyrics from the song Witch Hunt, part 3 of Fear, by Rush
from their release entitled Moving Pictures.



Sun, 24 May 1998 03:00:00 GMT  
 Is Anyone Having Problems With The Toolbar Control?

Quote:
>>Is anyone else having problems with the toolbar control?  Any bitmaps
>>I assign to the individual buttons (via an ImageList control) look
>>terrible.  I'm using the bitmaps supplied with VB4 in the
>>\bitmaps\tlbr_w95 directory.

>>Am I missing something here or doing something incredibly stupid?

Use ICONS.

Steve.



Sun, 24 May 1998 03:00:00 GMT  
 Is Anyone Having Problems With The Toolbar Control?

Quote:

>>>Is anyone else having problems with the toolbar control?  Any bitmaps
>>>I assign to the individual buttons (via an ImageList control) look
>>>terrible.  I'm using the bitmaps supplied with VB4 in the
>>>\bitmaps\tlbr_w95 directory.

>>>Am I missing something here or doing something incredibly stupid?

>Use ICONS.

>Steve.

Sure... confuse the guy even more... ICON's DON'T WORK! =)

All you  need to do is change the MASK COLOUR on the Image List
control that contains the BITMAPS for the TOOLBAR to somethig other
than Black... which is the default.

William J. Fisher
RedBird Softworks



Mon, 25 May 1998 03:00:00 GMT  
 Is Anyone Having Problems With The Toolbar Control?

Quote:
>>>>Am I missing something here or doing something incredibly stupid?

>>Use ICONS.

>>Steve.

>Sure... confuse the guy even more... ICON's DON'T WORK! =)

>All you  need to do is change the MASK COLOUR on the Image List
>control that contains the BITMAPS for the TOOLBAR to somethig other
>than Black... which is the default.

>William J. Fisher
>RedBird Softworks


Sure ICONS work in my app.

Quote from article in PC PRO Jan 96

"Microsoft supplies some bitmaps for use with toolbars & list view
controls, but you should use icon where possible. Icons have
transparent pixels where the background colour shows thru. This is
important in Win 95 where the user may have set thier button
colours to pale pink instead of default grey."

It goes on to describe how to change bitmaps to icons using the
ImagEdit application.

Steve.



Tue, 26 May 1998 03:00:00 GMT  
 
 [ 8 post ] 

 Relevant Pages 

1. Is anyone interested in having those new nifty toolbars

2. Is anyone interested in having those new nifty toolbars

3. I am having problems with addnew

4. Help!!I am having VB homework problem...

5. vb5 i am having problems with lost variables

6. Am having printing problems with Crystal Report.

7. I am having a multi-step problem...

8. anyone else having this problem?

9. Anyone having problems masking bitmaps in UserControls?

10. Anyone having WebControl size problems like this?

11. Anyone having problems with OpenUrl and IIS 4.0

12. Anyone having problems with .recordcount?

 

 
Powered by phpBB® Forum Software