Fix XCLabel Background Color issue on Volume Panel by Using XCEdit Object and Set ReadOnly Flag ...

This commit is contained in:
2024-10-03 12:31:55 +03:30
parent 3c6d16e953
commit 5973bf89c8
2 changed files with 16 additions and 2 deletions
@@ -166,6 +166,16 @@ class XCEdit : public XCObject
ObjectSetString(mChartID, mName, OBJPROP_FONT, value);
}
/**
* Set ReadOnly State of Object ...
*
* @param value: boolean value
*/
void ReadOnly(bool value)
{
ObjectSetInteger(mChartID, mName, OBJPROP_READONLY, value);
}
//
// Protected ...
protected: