I'm currently trying to develop a simple game. In this game I have a combo box to act as a shop where you select the item and click the "buy item" command button to buy the item and also sell items using the "sell item" command button, but unfortunately I cannot get it to work.
I cannot seem to figure out what to do. Should it have something to do with ItemData, or ListIndex?
I also have a problem with showing a description of the item that you wish to buy. What it is supposed to do is, once you select the item from the combo box it will automatically show the description in the caption of a label that is nearby. It is probably linked with the buy and sell buttons somehow.