Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.756 Beiträge
 
Delphi 10.4 Sydney
 
#3

Re: Herausfinden, in welchem RichEdit der User schreibt

  Alt 27. Apr 2009, 11:24
Hallo,

vielleicht kannst Du ja das Ereignis OnEnter nutzen.

Zitat von DelphiHilfe:
property OnEnter: TNotifyEvent;

Description

Use the OnEnter event handler to cause any special processing to occur when a control becomes active.

The OnEnter event does not occur when switching between forms or between another application and the application that includes the control.

When switching between controls in separate container controls such as the TPanel and the TGroupBox controls, an OnEnter event occurs for the container before the OnEnter event of the contained control.

Similarly, an OnExit event of the container occurs after the OnExit event of the control in a container when focus moves to another control outside the container.
Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat