Support Board
Date/Time: Wed, 17 Sep 2025 04:41:48 +0000
Post From: Change text background color
[2022-06-13 09:34:42] |
BenjFlame - Posts: 341 |
Hi, here is how I define the text initially: Subgraph_BidVolumeTxt.Name = "Bid Total Text";
Subgraph_BidVolumeTxt.DrawStyle = DRAWSTYLE_TEXT_WITH_BACKGROUND; Subgraph_BidVolumeTxt.PrimaryColor = RGB(255, 255, 255); Subgraph_BidVolumeTxt.SecondaryColor = RGB(100, 255, 200); Subgraph_BidVolumeTxt.LineWidth = 12; Subgraph_BidVolumeTxt.GraphicalDisplacement = 2; Then with code, i'm able to change text color: Subgraph_BidVolumeTxt.DataColor[sc.Index] = RGB(188, 27, 60); But how to also change the background color of the text? Date Time Of Last Edit: 2022-06-13 09:35:46
|