Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
FPC
Lazarus
Lazarus
Commits
f78dd6db
Commit
f78dd6db
authored
Mar 20, 2015
by
Juha Manninen
Browse files
Object Inspector: Scrolling works without Invalidate and messages, remove them. Issue
#27667
.
git-svn-id: trunk@48439 -
parent
65f76b28
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/ideintf/objectinspector.pp
View file @
f78dd6db
...
...
@@ -2503,9 +2503,6 @@ end;
procedure
TOICustomPropertyGrid
.
SetTopY
(
const
NewValue
:
integer
);
var
NewTopY
:
integer
;
{$IFDEF WINDOWS}
r
:
Types
.
TRect
;
{$ENDIF}
begin
NewTopY
:=
TopMax
;
if
NewValue
<
NewTopY
then
...
...
@@ -2513,11 +2510,6 @@ begin
if
NewTopY
<
0
then
NewTopY
:=
0
;
if
FTopY
<>
NewTopY
then
begin
{$IFDEF WINDOWS}
r
:=
ClientRect
;
if
not
ScrollWindowEx
(
Handle
,
0
,
FTopY
-
NewTopY
,@
r
,@
r
,
0
,
nil
,
SW_INVALIDATE
+
SW_SCROLLCHILDREN
)
then
Invalidate
;
{$ENDIF}
FTopY
:=
NewTopY
;
UpdateScrollBar
;
AlignEditComponents
;
...
...
FPC Admin account
@fpc_admin
mentioned in issue
#27667 (closed)
·
Jul 29, 2021
mentioned in issue
#27667 (closed)
mentioned in issue #27667
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment