Question: Problem with a maplet.

Hi, I was having a problem to write a Maplet for model selection. My problem is that, the variables from Combobox are not received by the procedure that should make the model selection. I am trying to apply the function parse to transform the string from ComboBox and add it to the variable that will be send to procedure FORMULCAO. Here is the code: > with(Maplets[Elements]): > Cond:=module() > option package; > local maplet; > export Model; > global deptemp,N, NDOM, MODE; > use Maplets[Elements] in > maplet := Maplet([ > [ > "Time Dependence: ", > ComboBox['CoB1']("stationary", sort([ > "stationary","transient" > ], lexorder)) > ], > [ > "Coordinate System: ", > ComboBox['CoB2']("cartesiano", sort([ > "cartesiano","cilindrico","esferico" > ], lexorder)) > ], > [ > "Models: ", > ComboBox['CoB3']("COND_C", sort([ > "COND_C","ALETAS","FIBRAS" > ], lexorder)) > ], > [ > "Domains: ", > ComboBox['CoB4']("1", sort([ > "1","2","3","4" > ], lexorder)) > ], > > [BoxCell("Model Equation:")], > MathMLViewer[MMLV1](), > [Button("Model Eq.", > Evaluate('N'='parse('CoB2')'), > Evaluate('MODO'='parse('CoB3')'), > Evaluate('NDOM'='parse('CoB4')'), > Evaluate(EQ=FORMULACAO(N,MODO)), > Evaluate('MMLV1'='MathML[Export](FORMULACAO(N,MODO))'))], #procedure that takes the action [Button("OK", Shutdown(['CoB2','CoB3','CoB4'])), > Button("Cancel", Shutdown())]]): > end use; > Model:=proc() > local result; > result:=Maplets[Display](maplet); > end proc; > end module: > Cond[Model](); Am I applying the function Parse in a correct way? How can I verify the value of a variable in the maplet during the execution? Do I have as seeing the value of the variable of ComboBox? Do I can export it? Can anyone help me??? My best regards, João Paulo Laudares
Please Wait...