>TYPE   	D
>NAME   	bonus.d
>CODE   	bonus.cod
>BY     	@(#)$Author: Jessica $
>DATE   	@(#)$Date: 07-12-07 10:57 $
>VERSION	@(#)$Revision: 4 $
>ID     	29501

>FILES ROWS 0
#type id  name        dbtype mode autoload r0 r1 r2 r3 r4 r5 comment

>TEXTINFO ROWS 5 SIZE 100
#id    value    flags    text
IDL_100  100  -  Temporärfält
IDL_101  101  -  Register
IDL_102  102  -  Loggningar saknas
IDL_103  103  -  Aktivera bonuscheckar för år %1?
IDL_104  104  -  %1 bonuscheckar aktiverade


>STACK ROWS 2000 SIZE 5000

>FONT ROWS 9
#id Hgt Wth Esc Ori Wgt Ita  Ul Sth Chs Opr Clp Qua Pch Name
1    -9   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
2   -11   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
3   -11   0   0   0 400   1  0   0   0   0   0   0   0 "Arial"
4   -11   0   0   0 700   0  0   0   0   0   0   0   0 "Arial"
5   -13   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
6   -13   0   0   0 400   1  0   0   0   0   0   0   0 "Arial"
7   -13   0   0   0 700   0  0   0   0   0   0   0   0 "Arial"
8   -16   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
9   -19   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"


>COLOR ROWS 16
#id color	comment
1   0x0        	""
2   0x808080   	""
3   0x80       	""
4   0x8080     	""
5   0x8000     	""
6   0x808000   	""
7   0x800000   	""
8   0x800080   	""
9   0xffffff   	""
A   0xc0c0c0   	""
B   0xff       	""
C   0xffff     	""
D   0xff00     	""
E   0xffff00   	""
F   0xff0000   	""
G   0xff00ff   	""


>BRUSH ROWS 5 SIZE 100
#id type	text
1   0	0xff0000
2   1	pattern
3   2	tegel.bmp
5   4	0xff
6   5	0x0


>APPEVENTS ROWS 0
#id Eventname	ParamList


>WINDOW ROWS 1
#id       x     y    cy    cx sp1	sp2	Bitmap	font	size	caption
5511      0     0   330   486 SB	-	-	"-"	  0	"755 Bonus"

>FORM MAIN ROWS 14 SIZE 188 "100 Main"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
WW   472    0    2   20  480 -	PZ	-	win2	-	""
TB    11   22    4  280  410 -	PWZ	-	tab1	-	"Standard"
PB   476   90  418   15   66 -	Pz	-	pbSearch	-	"&Sök nu"
PB     3  108  418   15   66 -	Pz	-	pbAbortSearch	-	"Avbr&yt sök"
B3  4175  160  418   15   66 -	QP	-	pbInfo	-	"info.bmp,Un&derlag"
PB  4163  179  418   15   66 -	Pz	-	pbAdjust	-	"&Justera bonus"
PB  4159  195  418   15   66 -	Pz	-	pbCalculate	-	"B&eräkna bonus"
PB  4160  211  418   15   66 -	Pz	-	pbPayOut	-	"&Utbetala bonus"
B3  4176  264  418   15   66 -	QP	-	pbLadder	-	"edit.bmp,B&onusstege"
B3     2  286  418   15   66 -	QPw	-	-	-	"exit.bmp,St&äng"
BM   409   32  422   50   54 -	Tpz	-	bmSearch	-	"studio.bmp"
AV   201   32  422   48   52 -	Hpz	-	aviSearch	-	"studio.avi"
PB  4178  248  418   15   66 -	Pz	-	pbEditCusomerData	-	"U&ppdatera kunder"
PB  4179  227  418   15   66 -	Pz	-	pbActivate	-	"A&ktivera bonus"

>FORM tab1 ROWS 3 SIZE 9 "tab1"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
WW    21   12    4  106  404 -	PZ	-	win1	-	""
GR    17  138    4  138  402 -	PWZ	-	lcResult	-	""
T    814  122    4   14  402 -	p	C9D6F9	txLabel	-	" Bonus"

>FORMFILES tab1 ROWS 0
#Id	sp
>FORM win1 ROWS 1 SIZE 11 "Criteries"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
L    418   21   30   11   60 -	p	-	-	-	"srccrit.di"

>FORMFILES win1 ROWS 0
#Id	sp
>FORM lcResult ROWS 10 SIZE 91 ""
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
T   4164    1    1   11   24 -	Hp	-	-	#12652	"År"
D   4173    1   25   13    0 -	HP	-	-	#839	"Kommentar"
T   4165    1   25   11   44 -	Hp	-	-	#12651	"Kundkod"
T   4166    1   69   11  100 -	Hp	-	-	#2021	"Kund"
T   4167    1  169   11   32 -	Hp	-	-	#12653	"Kundtyp"
T   4168    1  201   11   50 -	RHp	-	-	#12657	"Bonuspoäng "
T   4170    1  251   11   54 -	RHp	-	-	#12658	"Bonusbelopp"
T   4171    1  305   11   34 -	CHpL	-	-	#12661	"Utbetald"
T   4172    1  339   11   48 -	Hp	-	-	#12665	"Bonuscheck"
T   4177    1  387   11   60 -	Hp	-	-	#25567	"Använd datum"

>FORMFILES lcResult ROWS 2
#Id	sp
12650	r
25560	r
>FORM win2 ROWS 1 SIZE 12 "win2"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
L    473    6   94   11   60 -	p	-	-	-	"toolmenu.di"

>FORMFILES win2 ROWS 0
#Id	sp
>SOURCE
