Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Uwe Raabe,
25. Jan 2023
Wenn das Control Property nicht gesetzt ist, verwendet die Action das aktuell fokussierte TRichEdit:
function TRichEditAction.HandlesTarget(Target: TObject): Boolean;
begin
Result := ((Control <> nil) and (Target = Control) or
(Control = nil) and (Target is TCustomRichEdit)) and TCustomRichEdit(Target).Focused;
end;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Uwe Raabe,
25. Jan 2023
Dem Control Property der jeweiligen Action ist das entsprechende RichEdit zugewiesen?