Einzelnen Beitrag anzeigen

Benutzerbild von stahli
stahli

Registriert seit: 26. Nov 2003
Ort: Halle/Saale
4.337 Beiträge
 
Delphi 11 Alexandria
 
#3

Re: SetFocus ohne ScrollInView

  Alt 9. Dez 2008, 15:29
So, durch Überschreiben der virtuellen Methode AutoScrollInView ist es realisierbar.
"BlockAutoScrollInView" ist eine neue Variable, die ich nach Bedarf selbst definieren kann.

Delphi-Quellcode:
procedure TDesignerBox.AutoScrollInView(AControl: TControl);
begin
  if not BlockAutoScrollInView then
    inherited;
end;
stahli
  Mit Zitat antworten Zitat