Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.
procedure SetCriteria_1; begin var I: Integer; begin with Form1 do for I := 0 to Form1.ComponentCount - 1 do begin if Form1.Components[I] is TEdit then with Form1.Components[I] as TEdit do begin << I want to execute this code for only certain TEdit(x) fields. How do I code selection criteria to identify only specific Edit(x) fields and do the assignment? >> Color := clMediumGray; Enabled := False; end end; end;