procedure TForm_Lint.frReport_EvaluatieEnterRect(Memo: TStringList; View: TfrView);
var i: integer;
begin
case Form_Wedstrijd_Overzicht.Wedstrijd_Rapport of
'rpt_Betalingen_Club.lrf', 'rpt_Evaluatie_Overzicht_Alle.lrf',
'rpt_Evaluatie_Overzicht_Seizoen.lrf', 'rpt_Referee_Info.lrf',
'rpt_Referee_Skills.lrf', 'rpt_Wedstrijden_Alle.lrf', 'rpt_Wedstrijden_Club.lrf',
'rpt_Wedstrijden_Overige.lrf', 'rpt_Wedstrijden_Seizoen.lrf',
'rpt_Wedstrijden_Toernooi.lrf' :
begin
if View.Name = 'Memo_Titel' then begin
case KleurPop of
Oranje : View.FillColor := Oranje; // Oranje
Rood : View.FillColor := Rood; // Rood
Blauw : View.FillColor := Blauw; // Blauw
Groen : View.FillColor := Groen; // Groen
Paars : View.FillColor := Paars; // Paars
Geel : View.FillColor := Geel; // Geel
end; // case
end; // if
end;
'rpt_Declaratie.lrf', 'rpt_Declaratie_Leeg.lrf' :
begin
// bij deze rapporten staat een logo
if (View.Name = 'Picture1') or (View.Name = 'Picture2') then begin
if (View as TfrPictureView).Visible then
(View as TfrPictureView).Picture.LoadFromFile(Rapport_Logo)
else
(View as TfrPictureView).Picture.Clear;
end; // if
end;
'rpt_CoachingSheet_2023.lrf' :
begin
// bij dit rapport staat een logo
if (View.Name = 'Picture1') then begin
if (View as TfrPictureView).Visible then
(View as TfrPictureView).Picture.LoadFromFile(Rapport_Logo)
else
(View as TfrPictureView).Picture.Clear;
end; // if
end;
'rpt_Straffen_2018_NIJB.lrf' :
begin
case Shirt_Style of
1 : i := 1;
2 : i := 20;
3 : i := 32;
end; // case
if (View.Name = 'Picture2') or (View.Name = 'Picture4') then begin
if (View as TfrPictureView).Visible then
Form_Lint.ImageList_Shirts.GetBitmap(i,(View as TfrPictureView).Picture.Bitmap)
else
(View as TfrPictureView).Picture.Clear;
end; // if
end;
'rpt_Straffen_2018_BeNe.lrf' :
begin
case Shirt_Style of
1 : i := 2;
2 : i := 21;
3 : i := 33;
end; // case
if (View.Name = 'Picture1') or (View.Name = 'Picture3') then begin
if (View as TfrPictureView).Visible then
(View as TfrPictureView).Picture.LoadFromFile(Rapport_Logo)
else
(View as TfrPictureView).Picture.Clear;
end; // if
if (View.Name = 'Picture2') or (View.Name = 'Picture4') then begin
if (View as TfrPictureView).Visible then
Form_Lint.ImageList_Shirts.GetBitmap(i,(View as TfrPictureView).Picture.Bitmap)
else
(View as TfrPictureView).Picture.Clear;
end; // if
end;
'rpt_Evaluatie_2018_NIJB_Referee.lrf', 'rpt_Evaluatie_2019_NIJB_Referee.lrf',
'rpt_Evaluatie_2022_NIJB_Referee.lrf':
begin
case Shirt_Style of
1 : i := 1;
2 : i := 20;
3 : i := 32;
end; // case
if (View.Name = 'Picture1') then begin
if (View as TfrPictureView).Visible then
Form_Lint.ImageList_Shirts.GetBitmap(i,(View as TfrPictureView).Picture.Bitmap)
else
(View as TfrPictureView).Picture.Clear;
end; // if
end;
'rpt_Evaluatie_2018_NIJB_Linesman.lrf', 'rpt_Evaluatie_2019_NIJB_Linesman.lrf',
'rpt_Evaluatie_2022_NIJB_Linesman.lrf':
begin
case Shirt_Style of
1 : i := 14;
2 : i := 26;
3 : i := 38;
end; // case
if (View.Name = 'Picture1') then begin
if (View as TfrPictureView).Visible then
Form_Lint.ImageList_Shirts.GetBitmap(i,(View as TfrPictureView).Picture.Bitmap)
else
(View as TfrPictureView).Picture.Clear;
end; // if
end;
'rpt_Evaluatie_2018_BeNe_Referee.lrf', 'rpt_Evaluatie_2019_BeNe_Referee.lrf',
'rpt_Evaluatie_2022_BeNe_Referee.lrf':
begin
case Shirt_Style of
1 : i := 2;
2 : i := 21;
3 : i := 33;
end; // case
if (View.Name = 'Picture1') then begin
if (View as TfrPictureView).Visible then
Form_Lint.ImageList_Shirts.GetBitmap(i,(View as TfrPictureView).Picture.Bitmap)
else
(View as TfrPictureView).Picture.Clear;
end; // if
end;
'rpt_Evaluatie_2018_BeNe_Linesman.lrf', 'rpt_Evaluatie_2019_BeNe_Linesman.lrf',
'rpt_Evaluatie_2022_BeNe_Linesman.lrf' :
begin
case Shirt_Style of
1 : i := 15;
2 : i := 27;
3 : i := 39;
end; // case
if (View.Name = 'Picture1') then begin
if (View as TfrPictureView).Visible then
Form_Lint.ImageList_Shirts.GetBitmap(i,(View as TfrPictureView).Picture.Bitmap)
else
(View as TfrPictureView).Picture.Clear;
end; // if
end;
end; // case
end; // frReport_EvaluatieEnterRect