a=1 function on.paint(gc) if a==1 then gc:setFont("sansserif", "r", 10) gc:drawString("Formules chimie v1.0:", 0, 0, "top") gc:drawString("n = N/Na", 0, 15, "top") gc:drawString("n = m/M", 0, 30, "top") gc:drawString("rho = m/V", 0, 45, "top") gc:drawString("d= rho / rhoref", 0, 60, "top") gc:drawString("n = V/Vm (GAZ seulement)", 0, 75, "top") gc:drawString("n= C*V", 0, 90, "top") gc:drawString("t = C*M", 0, 105, "top") gc:drawString("n = t*(V/M)", 0, 120, "top") gc:drawString("p*V = n*R*T", 0, 135, "top") gc:drawString("Precision ((val theorique-val pratique) / val th)*100", 0, 150, "top") gc:drawString("Tab pour cacher", 0, 165, "top") gc:drawString("Par Garzamel12", 0, 190, "top") end end function on.tabKey() if a == 0 then a = 1 else a =0 end platform.window:invalidate() end