View Issue Details

IDProjectCategoryView StatusLast Update
0019369LazarusWidgetsetpublic2012-02-05 18:36
ReporterFrederickAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0019369: Scrollbars do not respond correctly when resizing TDrawGrid
DescriptionPlace a TDrawGrid on a TForm. Anchor all four sides. Set ColCount and RowCount to larger numbers, as 20, so scrolling is required. Run.

When resizing the window the TScrollBar thumbs never fill the scrollbar when the window is wider or taller than the column space, and clicking on the page space does nothing.

Example attached.

OS X 10.6.7
lazarus-0.9.31.30406-20110421-i386-macosx
Carbon Widgets
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetCarbon
Attached Files

Relationships

related to 0019257 closedJesus Reyes StringGrid: Row and Col properties don't affect scroll bars when set just after bulk insert 

Activities

2011-05-18 16:09

 

TDrawGrid_Test.zip (2,397 bytes)

Frederick

2011-05-19 15:29

reporter   ~0048419

Last edited: 2011-05-19 16:10

Possibly related, but I can not yet make a reproducible example.

If I set TopRow of a DrawGrid to a valid, in range, row while the Form is not yet visible, and then call Form.ShowOnTop, TCustomGrid.CellRect gets called (from scroll and paint messages) with aRow that is way out of range (much larger than DrawGrid.RowCount).

It works fine if I don't call TopRow.

[Edit: adding a new bug report for this]

Zeljan Rikalo

2012-02-05 18:36

developer   ~0056541

I've removed relation to 0019266 since those 2 issues aren't related. 0019266 is only ubuntu unity problem (liboverlay).

Issue History

Date Modified Username Field Change
2011-05-18 16:09 Frederick New Issue
2011-05-18 16:09 Frederick File Added: TDrawGrid_Test.zip
2011-05-18 16:09 Frederick Widgetset => Carbon
2011-05-18 16:35 Juha Manninen Relationship added related to 0019257
2011-05-18 16:36 Juha Manninen Relationship added related to 0019266
2011-05-19 03:05 Dmitry Boyarintsev LazTarget => -
2011-05-19 03:05 Dmitry Boyarintsev Status new => acknowledged
2011-05-19 15:29 Frederick Note Added: 0048419
2011-05-19 16:10 Frederick Note Edited: 0048419
2012-02-05 18:36 Zeljan Rikalo Relationship deleted related to 0019266
2012-02-05 18:36 Zeljan Rikalo Note Added: 0056541