View Issue Details

IDProjectCategoryView StatusLast Update
0002730JEDI VCL00 JVCL Componentspublic2005-04-12 05:24
ReporteranonymousAssigned Toobones 
Status resolvedResolutionfixed 
Product Version3.00 BETA 
Target VersionFixed in Version3.10 
Summary0002730: TJVgchecklistbox -> onclick event with 0 items = error

When I use TJVgchecklistbox from globus1, i have an issue with the implemented onclick event. When there is no items in the list, and when i click on it (even if i have no code in onclick event) it says me that : "indice hors limite"
I think a test is missing in the code to check if there's no item in the list.
Is it possible to tell me how to modify directly in my library to make it working ? I have to publish my program this night and i can't wait for the update :( Thanks

Thank you for this great library !
TagsNo tags attached.



2005-04-12 05:24

administrator   ~0006937

Thanks, this is now fixed in CVS.
To fix it your self, simply add

if Index > -1 then

in JvgListBox.pas at line 1039 just before the case statement.

Issue History

Date Modified Username Field Change
2005-03-09 07:46 anonymous New Issue
2005-04-12 05:24 obones Status new => resolved
2005-04-12 05:24 obones Resolution open => fixed
2005-04-12 05:24 obones Assigned To => obones
2005-04-12 05:24 obones Note Added: 0006937