| ||||
SetCustomTrafficLight methodApplies to the traffic light field. Syntax
ParametersRedTextThe text that appears when the item is set to a red light status. YellowTextThe text that appears when the item is set to a yellow light status. GreenTextThe text that appears when the item is set to a green light status. Return value
Return valueYou can only call the SetCustomTrafficLight method if the DataType property is set to erColumnTypeTrafficLight and if TrafficLightStyle is set to ERUTrafficLightCustom. Otherwise, SetCustomTrafficLight returns the error EROOM_E_INVALIDOPERATION. You can get the individual strings for red, yellow, and green status with the TrafficRedText, TrafficYellowText, and TrafficGreenText properties. |
Home |