Question: sinple code unable to get for tranfer of expression from CoboBox to MathContainer

Dear members,

I have made a simple document with 3 components ComboBox, TextArea and MathContainer.

A selection from ComboBox gets entered into TextArea, but not in MathContainer. I tried all codes with and without quotes, expression, value, "value" etc.

Any simple code I missed, please let me know.

Thanks.

Ramki
 

``This is a comboBox to select an expression for entry into TextArea0 and MathContainer0

 

 

 

``

TextArea0            This is MathContainer0

   

 

 

 

 

Codes in ComboBox EditSelectCode

use DocumentTools in
s:=GetProperty("ComboBox0","value");
SetProperty("TextArea0","value",s);
SetProperty("MathContainer0","expression",GetProperty("TextArea0","value"));
end use;

NULL


 

Download MathContainerEntry_Doubt.mw

Please Wait...