Question: Embedded Components - 2nd Question

Hi, The Trainig video "Using Embedded Components with Maple 11" provides an example using a Button component, a Mathematical Expression component and a Plot component. Since the training video uses Maple 11, the commands in the Button component to get a function entered in the Mathematical Expression component displayed in the Plot component are not applicable if one has Maple 10. I have tried this example with Maple 10 using the SetProperty and GetProperty commands but cannot get this example to work. The command programmed in the "Action when cliked" filed of the button is as follows: SetProperty('PlotInput2','value',plot(parse(GetProperty(MathContainer0','value')),x=0..10)); However, when a click the button I get this error message: Incorrect syntax in parse: missing an operator or ; (12). I have tried the following command, with the parse removed: SetProperty('PlotInput2','value',plot(GetProperty(MathContainer0','value')),x=0..10); This did not work either and I get this error message: (in DocumentTools:-SetProperty)expecting 2 or 3 arguments, got 4 However, I was able to get the training example to work by replacing the Mathematical Expression component by a Text Area component and the following command in the "Action when cliked" field of the button. SetProperty('PlotInput2','value',plot(parse(GetProperty('TextArea0','value')),x=0..10)); Can someone shed some light on this. Tks
Please Wait...