Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

256 Color Palette

Status
Not open for further replies.

TommyF

Technical User
Oct 28, 2001
104
0
0
Hi

Is there anyway to make a 256 Color pallete for a windows form?

The reason I ask is that I am reading and writing data to an epos terminal. When I read the data back from the terminal it tells me the color of the button is an integer for a 256 color palette number.

I also need to know how to convert the number from the epos terminal into a back color for a windows form button.

I am presuming the integer value must represent the number from 1 to 256 in the colour palette.

Any help would be really great.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top