Bug in FindItem |
Post Reply |
Author | |
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
Posted: 25 October 2005 at 5:35am |
I have codejock 9.61 and i am testing PropertyGrid control in my application. In property grid documentation you can see that finditem method can search an item by id or by caption. I have set item.id property but when i try to get the item by finditem method with item.id i get an error. If i try finditem with item.caption all works fine. Can you fix this problem ? Thanks a lot. |
|
SuperPippo
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
I think with 9.60 it started to search by Id or Caption, before that it searched by Tag or Caption.
Can you post your syntax for adding the item and trying to find it? |
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
I have 9.60 version and the help on line said finditem works by id or caption. Caption works fine, id does'nt work. To test try this code (just put it on the form load event of a vb6 form): Private Sub Form_Load() You will get the msgbox "FindItem Method does'nt work!!" . Waiting your answer, Thanks a lot.
|
|
SuperPippo
|
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
Post Scriptum: also finditem by tag doesn't work. Bye
|
|
SuperPippo
|
|
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
|
In my brief investigations:
This appears correct for 9.601 and 9.80 (and I assume any version in between!?!). Perhaps submit a bug report and post the response here? Edited by ianp |
|
Superpippo
Groupie Joined: 02 March 2005 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
Ok you are rigth! Just id=0 is a mistake. Thanks a lot.
|
|
SuperPippo
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |