
{
  if (nbr_max <= 16)
  {
    nombre_col = 1;
    nbc_col =  16;
    Debut_Affichage =  34;
    Hcadre_candid   =  23;
    giNomY          =   5;
    giPrenomY       =  16;
    Interl_candid   =   2;
    Lcadre_candid   = 202;
    Interc_candid   = 216;
    Hsaisie_candid  =  20;
    Lsaisie_candid  =  30;
    iNbrCandMin = 1;
    iNbrCandMax = 16;
    x_dep           =  (640 - Lcadre_candid) /2;
    return;
  }

  if (nbr_max <= 32)
  {
    nombre_col = 2;
    nbc_col =  16;
    Debut_Affichage =  34;
    Hcadre_candid   =  23;
    giNomY          =   5;
    giPrenomY       =  16;
    Interl_candid   =   2;
    Lcadre_candid   = 202;
    Interc_candid   = 126;
    Hsaisie_candid  =  20;
    Lsaisie_candid  =  30;
    iNbrCandMin = 17;
    iNbrCandMax = 32;
    x_dep           =  (640 - 2* Lcadre_candid - Interc_candid) /2;
    return;
  }

  if ((nbr_max > 32) && (nbr_max <= 48))
  {
    nombre_col = 3;
    nbc_col =  16;
    Debut_Affichage =  34;
    Hcadre_candid   =  23;
    giNomY          =   5;
    giPrenomY       =  16;
    Interl_candid   =   2;
    Lcadre_candid   = 202;
    Interc_candid   =  10;
    Hsaisie_candid  =  20;
    Lsaisie_candid  =  30;
    iNbrCandMin = 33;
    iNbrCandMax = 48;
    x_dep           = (640 - 3* Lcadre_candid - 2* Interc_candid) /2;
    return;
  }

  if ((nbr_max > 48) && (nbr_max <= 51))
  {
    nombre_col = 3;
    nbc_col =  17;
    Debut_Affichage =  34;
    Hcadre_candid   =  22;
    giNomY          =   5;
    giPrenomY       =  14;
    Interl_candid   =   2;
    Lcadre_candid   = 202;
    Interc_candid   =  10;
    Hsaisie_candid  =  20;
    Lsaisie_candid  =  30;
    x_dep           =  (640 - 3* Lcadre_candid - 2* Interc_candid) /2;
    iNbrCandMin = 49;
    iNbrCandMax = 51;
    return;
  }
}

/* ------------------------------------------------------------------------- */

