Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002730 [JEDI VCL] 00 JVCL Components minor always 2005-03-09 07:46 2005-04-12 05:24
Reporter anonymous View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version 3.00 BETA
Summary 0002730: TJVgchecklistbox -> onclick event with 0 items = error
Description Hi,

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 !
bye
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006937)
obones (administrator)
2005-04-12 05:24

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker