begin if not bRam1.Enabled then edModRam1.ItemIndex:=-1; if not bRam2.Enabled then edModRam2.ItemIndex:=-1; end;