Home All Groups Group Topic Archive Search About

BackColor and tile a bmp

Author
13 May 2005 5:24 PM
Rich
This should be an easy one - I hope.  I have set a my Palette to a bmp in my
VB project folder and have set my PaletteMode to custom.  How do I apply this
to my BackColor?  When I aopen the palette in the Backcolor Properties, I
cannot see the bmp I just loaded.  Will this tile across the whole surface of
the form?

Author
16 May 2005 10:47 PM
Karl E. Peterson
Rich wrote:
> This should be an easy one - I hope.  I have set a my Palette to a
> bmp in my VB project folder and have set my PaletteMode to custom.
> How do I apply this to my BackColor?  When I aopen the palette in the
> Backcolor Properties, I cannot see the bmp I just loaded.  Will this
> tile across the whole surface of the form?

Your question(s?) about palettes are confusing, but probably irrelevent these days.
That property only applies to 256-color displays.  Were you aware of that?  There is
very little relation between PaletteMode and BackColor.  Maybe you could clarify a
bit?

If you assign a Picture to your form, no, it doesn't tile itself.  Rather, it just
appears in the upper-left.  You'd need to do the tiling yourself.
--
Working Without a .NET?
http://classicvb.org/petition

AddThis Social Bookmark Button