2005-04-13, 21:03
hi there,
got two problems:
1.) i've got a controllist with some items in it.
now i want to give an id to every item in the list. (i need this id for later usage: i need to identify the selected item, but i can't identify it by its name...).
how do i do something like that?
2.) when the controllist has no items added and i verify with the a button this not-existing item, my box f*cks up after the following line:
i hope you can help me
thanks
got two problems:
1.) i've got a controllist with some items in it.
now i want to give an id to every item in the list. (i need this id for later usage: i need to identify the selected item, but i can't identify it by its name...).
how do i do something like that?
2.) when the controllist has no items added and i verify with the a button this not-existing item, my box f*cks up after the following line:
Quote:item = self.list.getselecteditem()how do i prevent the box from freezing?
i hope you can help me
thanks