I have many TLabels, and instead of manually changing their .Captions I'd like to do it in code. Something like
lbl[i]
instead of manually
lbl1 := x;
lbl2 := y;
I have many TLabels, and instead of manually changing their .Captions I'd like to do it in code. Something like
lbl[i]
instead of manually
lbl1 := x;
lbl2 := y;
Copyright © 2021 Jogjafile Inc.
If you are using the IDE to create the labels then you have two choices:
Use your own array:
Use the
TForm.Controlarray of the Form you're currently in: