with (Maplets[Elements]): maplet := Maplet('onstartup'='Action1','reference'='Maplet1', Action('reference'='clickButton1', Evaluate('function'='solve({T11*x+T12*y+T13*z+T14*w = Ta, T21*x+T22*y+T23*z+T24*w = Tb, T31*x+T32*y+T33*z+T34*w = Tc, T41*x+T42*z+T43*z+T44*w = Td},{x, y, z, w})',`option`="value",'target'='MathMLViewer1','waitforresult'='true')), Return('reference'='Return1'), Action('reference'='clickButton2', Shutdown(`return`='Return1')), Label('background'="#D6D3CE",'caption'="Zadej soustavu rovnic tak, že do prvního sloupečku zadáš hodnoty u proměnné x do ruhého u y a tak dále, pokud máš proměnných méně jak 4 zadej ve zbytku plí hodnotu 0",'enabled'='true','foreground'="#000000",'reference'='Label18','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T11','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label1','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T12','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label2','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T13','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label3','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T14','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="=",'enabled'='true','foreground'="#000000",'reference'='Label4','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='Ta','visible'='true','width'='5'), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout4','valign'='center','vertical'='true','visible'='true', BoxRow( BoxCell('hscroll'='never','value'='T11','vscroll'='never'), BoxCell('hscroll'='never','value'='Label1','vscroll'='never'), BoxCell('hscroll'='never','value'='T12','vscroll'='never'), BoxCell('hscroll'='never','value'='Label2','vscroll'='never'), BoxCell('hscroll'='never','value'='T13','vscroll'='never'), BoxCell('hscroll'='never','value'='Label3','vscroll'='never'), BoxCell('hscroll'='never','value'='T14','vscroll'='never'), BoxCell('hscroll'='never','value'='Label4','vscroll'='never'), BoxCell('hscroll'='never','value'='Ta','vscroll'='never'))), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T21','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label5','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T22','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label6','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T23','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label7','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T24','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="=",'enabled'='true','foreground'="#000000",'reference'='Label8','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='Tb','visible'='true','width'='5'), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout5','valign'='center','vertical'='true','visible'='true', BoxRow( BoxCell('hscroll'='never','value'='T21','vscroll'='never'), BoxCell('hscroll'='never','value'='Label5','vscroll'='never'), BoxCell('hscroll'='never','value'='T22','vscroll'='never'), BoxCell('hscroll'='never','value'='Label6','vscroll'='never'), BoxCell('hscroll'='never','value'='T23','vscroll'='never'), BoxCell('hscroll'='never','value'='Label7','vscroll'='never'), BoxCell('hscroll'='never','value'='T24','vscroll'='never'), BoxCell('hscroll'='never','value'='Label8','vscroll'='never'), BoxCell('hscroll'='never','value'='Tb','vscroll'='never'))), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T31','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label9','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T32','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label10','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T33','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label11','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T34','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="=",'enabled'='true','foreground'="#000000",'reference'='Label12','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='Tc','visible'='true','width'='5'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T41','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label13','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T42','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label14','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T43','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="+",'enabled'='true','foreground'="#000000",'reference'='Label15','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='T44','visible'='true','width'='5'), Label('background'="#D6D3CE",'caption'="=",'enabled'='true','foreground'="#000000",'reference'='Label16','visible'='true'), TextField('background'="#FFFFFF",'editable'='true','enabled'='true','foreground'="#000000",'halign'='left','reference'='Td','visible'='true','width'='5'), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout6','valign'='center','vertical'='true','visible'='true', BoxRow( BoxCell('hscroll'='never','value'='T31','vscroll'='never'), BoxCell('hscroll'='never','value'='Label9','vscroll'='never'), BoxCell('hscroll'='never','value'='T32','vscroll'='never'), BoxCell('hscroll'='never','value'='Label10','vscroll'='never'), BoxCell('hscroll'='never','value'='T33','vscroll'='never'), BoxCell('hscroll'='never','value'='Label11','vscroll'='never'), BoxCell('hscroll'='never','value'='T34','vscroll'='never'), BoxCell('hscroll'='never','value'='Label12','vscroll'='never'), BoxCell('hscroll'='never','value'='Tc','vscroll'='never')), BoxRow( BoxCell('hscroll'='never','value'='T41','vscroll'='never'), BoxCell('hscroll'='never','value'='Label13','vscroll'='never'), BoxCell('hscroll'='never','value'='T42','vscroll'='never'), BoxCell('hscroll'='never','value'='Label14','vscroll'='never'), BoxCell('hscroll'='never','value'='T43','vscroll'='never'), BoxCell('hscroll'='never','value'='Label15','vscroll'='never'), BoxCell('hscroll'='never','value'='T44','vscroll'='never'), BoxCell('hscroll'='never','value'='Label16','vscroll'='never'), BoxCell('hscroll'='never','value'='Td','vscroll'='never'))), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout2','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxCell('hscroll'='never','value'='BoxLayout4','vscroll'='never'), BoxCell('hscroll'='never','value'='BoxLayout5','vscroll'='never'), BoxCell('hscroll'='never','value'='BoxLayout6','vscroll'='never'))), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout3','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxCell('hscroll'='never','value'='BoxLayout2','vscroll'='never'))), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout7','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxCell('hscroll'='never','value'='BoxLayout3','vscroll'='never'))), BoxLayout('background'="#D6D3CE",'border'='false','halign'='center','inset'='5','reference'='BoxLayout8','valign'='center','vertical'='false','visible'='true', BoxColumn( BoxCell('hscroll'='never','value'='Label18','vscroll'='never'), BoxCell('hscroll'='never','value'='BoxLayout7','vscroll'='never'))), Button('background'="#D6D3CE",'caption'="Výpočet",'enabled'='true','foreground'="#000000",'onclick'='clickButton1','reference'='Button1','visible'='true'), Button('background'="#D6D3CE",'caption'="Konec",'enabled'='true','foreground'="#000000",'onclick'='clickButton2','reference'='Button2','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'='BoxLayout8','vscroll'='never')), BoxRow( BoxCell('hscroll'='never','value'='Button1','vscroll'='never'), BoxCell('hscroll'='never','value'='Button2','vscroll'='never')), BoxRow( 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);