Print Page | Close Window

How to assign color to a button?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13133
Printed Date: 28 February 2025 at 12:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to assign color to a button?
Posted By: Satyen
Subject: How to assign color to a button?
Date Posted: 09 January 2009 at 9:28am

Have a look at this figure.

 
 
In above figure, the highlighted controls are simple buttons that launch standard color pallet of windows. Our requirement is – When user selects any color on the color pallet and OKs the dialog, the selected color should appear on the button (similar to what MS word does).

 

Does it require any special bitmap (icon) for this?  How to set color on a button, or say Icon? Please help!



-------------
Thanks & Regards,
Satyenjit Bagal.
Software Development Engineer.
SIEMENS Automation and Drives.



Replies:
Posted By: Oleg
Date Posted: 09 January 2009 at 11:21am
Hi,
Our sample has such buttons.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net