Ignore:
Timestamp:
Feb 29, 2016, 3:09:13 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Allow receive mouse move mesages to focused form even if mouse position is outside of form area.
  • Fixed: Pass key press messages only to focused form and focused TControl like TEdit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • os/trunk/Xvcl/Xvcl.Forms.pas

    r5 r13  
    9090      Move.StartMousePos := Position;
    9191      Move.Active := True;
    92      Result := True;
     92      Result := True;
    9393    end;
    9494  end else
     
    137137  if FFocused <> Value then begin
    138138    FFocused := Value;
    139     if Value then TScreen(Screen).FocusForm(Self);
     139    if Value then TScreen(Screen).FocusedForm := Self;
    140140  end;
    141141end;
Note: See TracChangeset for help on using the changeset viewer.