View Issue Details

IDProjectCategoryView StatusLast Update
0027830LazarusLCLpublic2020-04-13 18:21
ReporterMartin Friebe Assigned ToMattias Gaertner  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Platformw32OSwin 
Product Version1.5 (SVN) 
Summary0027830: range check with aligning TScrollbox (and several alignment errors)
DescriptionOpen attached project (colors have no effect on bug, jut for visualization)

TForm
  TScrollBox1 (alClient in form)
    TScrollBox2 (blue / alLeft in TScrollBox11)
      TScrollBox3 (yellow / alTop in TScrollBox2)

1) TScrollBox2 has a vert scrollbar. It should not
This is caused by TScrollBox3, but that is alTop.

Change the width of TScrollBox2 and it will go and re-appear.

2) Change the size of the form. There will be scrollbars appearing and disappearing.

3) Add a TScrollBox4 into TScrollBox2 (into the blue) and set it to alClient
That gives a range check error
Additional Information#0 HANDLEERRORADDRFRAME(270528472, 0xc9, 0x101fefd8) at ..\inc\system.inc:962
0000001 HANDLEERRORFRAME(201, 0xc9) at ..\inc\system.inc:992
0000002 fpc_rangeerror at ..\inc\system.inc:653
0000003 SENDMOVESIZEMESSAGES(0x143380d8, true, false) at include\wincontrol.inc:4258
0000004 CHANGEBOUNDS(0x143380d8, 0, 0, 150, 65537, true) at include\control.inc:715
0000005 SETBOUNDSKEEPBASE(0x143380d8, 0, 0, 150, 65537) at include\control.inc:5189
0000006 DOPOSITION(0x101ff348, 0x143380d8, ALLEFT, 0) at include\wincontrol.inc:3013
0000007 DOALIGN(0x101ff348, ALLEFT) at include\wincontrol.inc:3126
0000008 ALIGNCONTROLS(0x14337d28, 0x0, {LEFT = 0, TOP = 0, RIGHT = 528, BOTTOM = 65537, TOPLEFT = {X = 0, Y = 0}, BOTTOMRIGHT = {X = 528, Y = 65537}}) at include\wincontrol.inc:3202
0000009 ALIGNCONTROLS(0x14337d28, 0x0, {LEFT = 0, TOP = 0, RIGHT = 528, BOTTOM = 65537, TOPLEFT = {X = 0, Y = 0}, BOTTOMRIGHT = {X = 528, Y = 65537}}) at include\scrollingwincontrol.inc:89
0000010 ALIGNCONTROL(0x14337d28, 0x0) at include\wincontrol.inc:6322
0000011 AUTOSIZECONTROL(0x101ff468, 0x14337d28) at include\control.inc:2846
0000012 AUTOSIZECONTROL(0x101ff468, 0x14337868) at include\control.inc:2848
0000013 DOALLAUTOSIZE(0x14337868) at include\control.inc:2896
0000014 DOALLAUTOSIZE(0x14337868) at include\wincontrol.inc:3514
0000015 ENABLEAUTOSIZING(0x14337868) at include\control.inc:5448
0000016 ENABLEAUTOSIZING(0x14337d28) at include\control.inc:5446
0000017 ENABLEAUTOSIZING(0x143380d8) at include\control.inc:5446
0000018 ENABLEAUTOSIZING(0x14335e88) at include\control.inc:5446
0000019 SETALIGN(0x14335e88, ALCLIENT) at include\control.inc:3731
0000020 SETORDPROP(0xc9, 0xc9, 26395077999853769) at ..\objpas\typinfo.pp:1041
0000021 SETORDVALUE(0x14fe43b0, 5) at propedits.pp:2813
0000022 SETVALUE(0x14fe43b0, 0x143ab1a0 'alClient') at propedits.pp:3412
0000023 SETROWVALUE(0x14325f70, false) at objectinspector.pp:1422
0000024 VALUECOMBOBOXCLOSEUP(0x14325f70, 0x1435d378) at objectinspector.pp:3117
0000025 CLOSEUP(0x1435d378) at include\customcombobox.inc:237
0000026 CNCOMMAND(0x1435d378, {MSG = 48401, ITEMID = 54136, NOTIFYCODE = 8, CTL = 4916924, RESULT = 0}) at include\customcombobox.inc:1043
0000027 DISPATCH(0x101ff00c, 0) at ..\inc\objpas.inc:592
0000028 WNDPROC(0x1435d378, {MSG = 48401, WPARAM = 578424, LPARAM = 4916924, RESULT = 0, WPARAMLO = 54136, WPARAMHI = 8, WPARAMFILLER = {}, LPARAMLO = 1724, LPARAMHI = 75, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\control.inc:2112
0000029 WNDPROC(0x1435d378, {MSG = 48401, WPARAM = 578424, LPARAM = 4916924, RESULT = 0, WPARAMLO = 54136, WPARAMHI = 8, WPARAMFILLER = {}, LPARAMLO = 1724, LPARAMHI = 75, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\wincontrol.inc:5342
0000030 DELIVERMESSAGE(0x1435d378, 0) at lclmessageglue.pas:112
0000031 DOWINDOWPROC(0x11747cc8) at win32\win32callback.inc:2443
0000032 WINDOWPROC(4916924, 48401, 578424, 4916924) at win32\win32callback.inc:2608
0000033 COMBOBOXWINDOWPROC(4916924, 48401, 578424, 4916924) at win32\win32wsstdctrls.pp:415
0000034 USER32!GetWindowMinimizeRect at :0
0000035 WRITEDWORD(0xc9, 48401) at ..\objpas\classes\writer.inc:65
0000036 WRITEDWORD(0xc9, 48401) at ..\objpas\classes\writer.inc:65
0000037 ?? at :0
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0035889 resolvedJuha Manninen Range error in SendMoveSizeMessages appears sometimes when starting the IDE. 

Activities

Martin Friebe

2015-04-12 00:04

manager  

scrrollbox.zip (1,891 bytes)

Issue History

Date Modified Username Field Change
2015-04-12 00:04 Martin Friebe New Issue
2015-04-12 00:04 Martin Friebe File Added: scrrollbox.zip
2015-04-12 11:03 Zeljan Rikalo Assigned To => Mattias Gaertner
2015-04-12 11:03 Zeljan Rikalo Status new => assigned
2019-07-26 16:35 Juha Manninen Relationship added related to 0035889
2020-04-13 18:20 Juha Manninen Relationship added duplicate of 0034377
2020-04-13 18:21 Juha Manninen Relationship deleted 0034377