Forum: Object-Pascal / Delphi-Language
Delphi
by himitsu,
4. Nov 2016
Jupp.
Das gilt nur für Fenster, die in andere Fenster eingebettet sind.
Form.Parent <> nil
Forum: Object-Pascal / Delphi-Language
Delphi
by himitsu,
2. Nov 2016
Man kann sich auch selber ein ActiveControl schreiben, welches auf die TopForm weiterleitet.
type
TActiveCompHelper = class helper for TCustomForm
private
function GetMyActiveControl: TWinControl;
procedure SetMyActiveControl(const Value: TWinControl);
public
property MyActiveControl: TWinControl read GetMyActiveControl write SetMyActiveControl;
end;