Hi Ofer,
| I do find wItem under Extended but it has no value,just the button params next to it(which i don't know what its purpose) |
The
Parameters button lets you specify the parameters for the selected property of the method. The
wItem property has only one parameter - index of the needed list box item. So, to obtain the value of the needed item, you need to click the Parameters button on the right of the wItem property and specify the item's index (zero-based) in the ensuing dialog. When you close this dialog, the wItem line will hold the value of the specified item.
| With regarding the fact that it ran properly ans suddenly it's not |
Most likely, the index is out of bounds. I've looked through the screenshot you posted here and noticed that you are randomly generating the index of the needed item. Why do you do this? Also, you start the index from 1, but it starts from 0 (when you specify it for the wItem property).
Also, please clarify what you mean when you say that the property doesn't work. Do you see any error message? If you do, please post here the entire text of the shown error.
Thanks.