with (Maplets[Elements]): maplet := Maplet('onstartup'='Action1','reference'='Maplet1', Action('reference'='clickButton1', Evaluate('function'='T11*(T22*T33*T44+T32*T43*T24+T42*T23*T34-T24*T33*T42-T34*T43*T22-T44*T23*T32)-T21*(T12*T33*T44+T32*T43*T14+T42*T13*T34-T14*T33*T42-T34*T43*T12-T44*T13*T32)+T31*(T12*T23*T44+T22*T43*T14+T42*T13*T24-T14*T23*T42-T24*T43*T12-T44*T13*T22)-T41*(T12*T23*T34+T22*T33*T14+T32*T13*T24-T14*T23*T32-T24*T33*T12-T34*T13*T22)',`option`="value",'target'='MathMLViewer1','waitforresult'='true')), Label('background'="#D6D3CE",'caption'="Matice A",'enabled'='true','foreground'="#000000",'reference'='Label1','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T11','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T21','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T31','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T41','visible'='true','width'='3'), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout2','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxCell('hscroll'='never','value'='T11','vscroll'='never'), BoxCell('hscroll'='never','value'='T21','vscroll'='never'), BoxCell('hscroll'='never','value'='T31','vscroll'='never'), BoxCell('hscroll'='never','value'='T41','vscroll'='never'))), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T12','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T22','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T32','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T42','visible'='true','width'='3'), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout3','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxCell('hscroll'='never','value'='T12','vscroll'='never'), BoxCell('hscroll'='never','value'='T22','vscroll'='never'), BoxCell('hscroll'='never','value'='T32','vscroll'='never'), BoxCell('hscroll'='never','value'='T42','vscroll'='never'))), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T13','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T23','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T33','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T43','visible'='true','width'='3'), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout7','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxCell('hscroll'='never','value'='T13','vscroll'='never'), BoxCell('hscroll'='never','value'='T23','vscroll'='never'), BoxCell('hscroll'='never','value'='T33','vscroll'='never'), BoxCell('hscroll'='never','value'='T43','vscroll'='never'))), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T14','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T24','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T34','visible'='true','width'='3'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T44','visible'='true','width'='3'), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout4','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxCell('hscroll'='never','value'='T14','vscroll'='never'), BoxCell('hscroll'='never','value'='T24','vscroll'='never'), BoxCell('hscroll'='never','value'='T34','vscroll'='never'), BoxCell('hscroll'='never','value'='T44','vscroll'='never'))), Button('background'="#D6D3CE",'caption'="Determinant",'enabled'='true','foreground'="#000000",'onclick'='clickButton1','reference'='Button1','visible'='true'), MathMLViewer('background'="#FFFFFF",'fontsize'='18','foreground'="#000000",'height'='100','reference'='MathMLViewer1','width'='300'), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout1','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxRow( BoxCell('hscroll'='never','value'='Label1','vscroll'='never'), BoxCell('hscroll'='never','value'='BoxLayout2','vscroll'='never'), BoxCell('hscroll'='never','value'='BoxLayout3','vscroll'='never'), BoxCell('hscroll'='never','value'='BoxLayout7','vscroll'='never'), BoxCell('hscroll'='never','value'='BoxLayout4','vscroll'='never')), BoxRow( BoxCell('hscroll'='never','value'='Button1','vscroll'='never'), BoxCell('hscroll'='never','value'='MathMLViewer1','vscroll'='never')))), Window('layout'='BoxLayout1','reference'='Window1','resizable'='true','title'="Maplet"), Action('reference'='Action1', RunWindow('window'='Window1'))): Maplets[Display](maplet);