![]() |
[SOLVED]StatusBarPane BackgroundColor |
Post Reply ![]() |
Author | |
iamgtd ![]() Senior Member ![]() ![]() Joined: 25 February 2009 Status: Offline Points: 131 |
![]() ![]() ![]() ![]() ![]() Posted: 02 November 2009 at 9:35am |
For the statusbarpane exists the following method to set the backgroundcolor: StatusBarPane pane = StatusBar.AddPane(0); The BackgroundColor method expects a uint-value. How can I convert a color with RGB-values to a unit-value?
|
|
---------
OS: Win 10 64 bit Codejock Version 22.1 ActiveX MS Visual Studio 2022 - C# --------- |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Pane .BackgroundColor = (uint)ColorTranslator.ToOle(Color.Red); |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |