informa
TO JEST FORMUŁKA DO PLIKU "ftabmno"

clf;
close(gcf);
clear all;
set(gcf , 'menubar' , 'none',...
'numbertitle' , 'off',...
'color' , [1 1 0],...
'name' , 'Tabliczka mnozenia autor: Jozin z Bazin');
P=0;
nt=0;
Lt=10;
rand('state' , sum(100*clock));
l1=round(rand*10);
l2=round(rand*10);
vedit1=uicontrol('style' , 'edit',...
'position' , [20 60 60 40],...
'background' , [0 1 0],...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'enable' , 'off' ,...
'string', l1);
vtext1=uicontrol('style' , 'text',...
'position' , [90 60 40 40],...
'background' , [0 1 0] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'string' , '*');
vedit2=uicontrol('style' , 'edit',...
'position' , [140 60 40 40],...
'background' , [0 1 0] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'enable' , 'off',...
'string' , l2);
vtext2=uicontrol('style' , 'text',...
'position' , [220 60 40 40],...
'background' , [0 1 0] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'string' , '=');
vedit3=uicontrol('style' , 'edit',...
'position' , [280 60 40 40],...
'background' , [1 1 1] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'string' , ' ');
vtext3=uicontrol('style' , 'text',...
'position' , [60 120 220 40],...
'background' , [1 1 0] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'string' , 'Punkty uzyskane :');
vedit4=uicontrol('style' , 'edit',...
'position' , [280 120 60 40],...
'background' , [1 1 1] ,...
'foregroundcolor' , [0 0 0],...
'enable' , 'off',...
'fontsize' , 18,...
'string' , ' ');
vtext4=uicontrol('style' , 'text',...
'position' , [330 120 140 40],...
'background' , [1 1 0] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'string' , 'mozliwych :');
vedit5=uicontrol('style' , 'edit',...
'position' , [480 120 60 40],...
'background' , [1 1 1] ,...
'foregroundcolor' , [0 0 0],...
'enable' , 'off',...
'fontsize' , 18,...
'string' , ' ');
vtext5=uicontrol('style' , 'text',...
'position' , [60 180 240 40],...
'background' , [1 1 0] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'string' , 'Liczba testow :');
vedit7=uicontrol('style' , 'edit',...
'position' , [280 180 60 40],...
'background' , [1 1 1] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'value' , 10,...
'string' , '10');
vtext6=uicontrol('style' , 'text',...
'position' , [50 240 480 60],...
'background' , [1 1 0] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 20,...
'string' , 'Test z tabliczki mnozenia');
vedit8=uicontrol('style' , 'edit',...
'position' , [480 10 60 40],...
'background' , [1 1 1] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'visible' , 'off',...
'string' , ' ');
vtext7=uicontrol('style' , 'text',...
'position' , [360 10 120 40],...
'background' , [1 1 0] ,...
'foregroundcolor' , [0 0 0],...
'fontsize' , 18,...
'visible' , 'off',...
'string' , 'Ocena:');
sprawdz=uicontrol('style' , 'pushbutton',...
'position' , [10 10 90 30],...
'string' , 'Sprawdz',...
'fontsize' , 14,...
'callback' , 'obltabmno');
zamknij=uicontrol('style' , 'pushbutton',...
'position' , [240 10 90 30],...
'string' , 'Koniec',...
'fontsize' , 14,...
'callback' , 'close(gcf)');


  PRZEJD NA FORUM