View Issue Details

IDProjectCategoryView StatusLast Update
0005240JEDI VCL00 JVCL Componentspublic2011-06-10 16:10
ReporterdzomlijaAssigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.40 
Summary0005240: TJvPreviewControl - Crash on Scrolling
DescriptionThe problem with multiple pages in TJvPreviewControl was reported and resolvedin Issue 0005239 (Thanks!), but now another issue has cropped up, which is possibly related.

When multiple pages are created, the preview now works as expected, but using either the scrollbars or a mouse scroller wheel to scroll to different pages results in an EThread error "Cannot call Start on a running or suspended thread". If the application is run outside the IDE, the message is "Thread Error: The handle is invalid (6)"

I can workaround this error by hiding the scrollbars, and by setting "Handled := True" in the OnMouseWheel event. Not really critical, but doing so requires that multiple pages be previewed using manual control. Being able to use a mouse wheel or the scrollbars will make the print preview easier to use for my end-users.

I have attached again the demo program that I included with Issue 0005239, but this time it works by producing a 10-page preview, but the errors with scrolling have come to the forefront.
TagsNo tags attached.

Activities

2010-05-15 12:28

 

TJvPreviewControl - Crash on Scrolling.zip (682,205 bytes)

AHUser

2010-05-15 17:19

developer   ~0017389

Fixed in SVN revision 12769

Issue History

Date Modified Username Field Change
2010-05-15 12:28 dzomlija New Issue
2010-05-15 12:28 dzomlija File Added: TJvPreviewControl - Crash on Scrolling.zip
2010-05-15 17:19 AHUser Note Added: 0017389
2010-05-15 17:19 AHUser Status new => resolved
2010-05-15 17:19 AHUser Fixed in Version => Daily / SVN
2010-05-15 17:19 AHUser Resolution open => fixed
2010-05-15 17:19 AHUser Assigned To => AHUser
2011-06-10 16:10 obones Fixed in Version Daily / SVN => 3.40