Skip to content

Instantly share code, notes, and snippets.

@mgcd-jed
Created August 22, 2022 12:53
Show Gist options
  • Save mgcd-jed/51be25dd158dcd0c870f32f4299871c2 to your computer and use it in GitHub Desktop.
Save mgcd-jed/51be25dd158dcd0c870f32f4299871c2 to your computer and use it in GitHub Desktop.
procedure TFormExaSpirometrie.ColorInPanels();
var
key: string;
currentPanel: TPanel;
i: integer;
begin
for Key in mapPanelTests.Keys do begin
i := 1;
for currentPanel in mapPanelTests.Items[Key] do begin
currentPanel.Font.Color := ConfGlobale.Couleur.Spiro[ModePrePost(Examen.GroupeSpiro.Numero)][i];
i := i + 1;
end;
end;
end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment