Support Board
Date/Time: Tue, 04 Nov 2025 07:17:49 +0000
Post From: Horizontal Line: Name & Value Display
|   [2020-04-08 06:54:25]     |  
| User907968 - Posts: 847 | 
| 
                Set the name and value properties in a single operation, if you do them separately you are simply overwriting the previous value. PreviousCloseLine.LineLabel = LL_DISPLAY_NAME | LL_NAME_ALIGN_CENTER | LL_NAME_ALIGN_LEFT_EDGE | LL_DISPLAY_VALUE | LL_VALUE_ALIGN_CENTER | LL_VALUE_ALIGN_FAR_RIGHT; Alternatively you could use the |= (or equals) compound assignment operator when assigning the second set of properties PreviousCloseLine.LineLabel = LL_DISPLAY_NAME | LL_NAME_ALIGN_CENTER | LL_NAME_ALIGN_LEFT_EDGE; PreviousCloseLine.LineLabel |= LL_DISPLAY_VALUE | LL_VALUE_ALIGN_CENTER | LL_VALUE_ALIGN_FAR_RIGHT;  | 
        
