Re: [Gambas-user] Unable to change valuebox contents after selecting record from combobox
I am new to Gambas am having a small problem with a simple stock control program. When th program starts a file is read and each record is loaded and broken down and the element values are assigned to separate arrays, a combobox is loaded with the names of the stock items. On my form when running the program I can select what record I want to change with the combobox, and the correct details for each record are displayed where they are meant to be, the problem is that I cant edit the contents of the on screen information other than the combobox contents. All the other info is stored in valuebox's with type number. Why wont it let me edit the other contents ?? Can you provide your full source code? -- Benoît -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Unable to change valuebox contents after selecting record from combobox
Thanx for the reply's but I managed to sort it, it was a problem with the combobox.index returning a negative number, and using the wrong event ( I had used change, worked with click ). After finding the problems it was simple to sort. Thanx again for quick reply's. -- View this message in context: http://www.nabble.com/Unable-to-change-valuebox-contents-after-selecting-record-from-combobox-tp22723578p22743699.html Sent from the gambas-user mailing list archive at Nabble.com. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Unable to change valuebox contents after selecting record from combobox
I am new to Gambas am having a small problem with a simple stock control program. When th program starts a file is read and each record is loaded and broken down and the element values are assigned to separate arrays, a combobox is loaded with the names of the stock items. On my form when running the program I can select what record I want to change with the combobox, and the correct details for each record are displayed where they are meant to be, the problem is that I cant edit the contents of the on screen information other than the combobox contents. All the other info is stored in valuebox's with type number. Why wont it let me edit the other contents ?? -- View this message in context: http://www.nabble.com/Unable-to-change-valuebox-contents-after-selecting-record-from-combobox-tp22723578p22723578.html Sent from the gambas-user mailing list archive at Nabble.com. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user