Read only input

 

In previous version I used
input const string something="/---Next Values are for simulation--";

to display a readonly string in the input grid.
This approach does not work anymore in the current version.

How can  set a readonly sentence or input?
Thanks

 

Maybe this works:

sinput string something="...";

https://www.mql5.com/en/docs/basis/variables/inputvariables

Documentation on MQL5: Language Basics / Variables / Input Variables
Documentation on MQL5: Language Basics / Variables / Input Variables
  • www.mql5.com
modifier is indicated before the data type. A variable with the input modifier can't be changed inside mql5-programs, such variables can be accessed for reading only. Values of input variables can be changed only by a user from the program properties window. External variables are always reinitialized immediately before the OnInit() is called...
Reason: