CodePudding user response:
Not understand quite right,Can't read the multiple IABLE for one group, called the same event, an array variable, to judge which one click IABLE increases the value of the corresponding subscript array,
CodePudding user response:
All the lable click bindings to the same click method, the sender is the lable, click StrToInt (TLable (sender). Caption) + 1CodePudding user response:
Call the same OnClick time, Tlable (Sender). Caption:=IntToStr (StrToInt (Tlable (Sender). Caption) + 1)