I dont know what is the correct form to pass values from method to the fields, I already put yes on autodeclarate and check if the value I send from the method match with the type of field, I dont have any error only doesn't work. In fact it works with the IntEdit but for example when I send 500 shows me 1 I dont hunderstand why
This is my code
private void method1(){
int var = 500;
Field.value(var); }
And I would like to know how to pass that values from the method to StaticText.
To set value of
StaticTextcontrol in form you should usetext()method ofStaticTextFor example
My
StaticTextis called ST1 (Autodeclaration = Yes).If you need a method to return a value for
StaticTexttry this:Then in
initmethod of form for example