Re: [Gambas-user] - Populating a Combobox from a DB

2008-08-01 Thread John K
Re my earlier e-mail I've solved the problem by repopulating the combobox at the end of the Button_Click() subroutine. However I have another question. If I create a combobox with: DIM hComboBox AS ComboBox hComboBox = NEW ComboBox ( Frame1 ) it doesn't accept any events ie hComboBox_Change() bu

[Gambas-user] Populating a Combobox from a DB

2008-08-01 Thread John K
I have a combobox which is populated on the fly from a sqlite DB when the form opens. Does anyone have any ideas how I can repopulate this box when more items are added to the DB from the same form, without closing the form and re-opening it? Put briefly I have:- Public sub form_open() Populate

Re: [Gambas-user] Using DataSource et al

2008-07-27 Thread John K
Hi Richard, At long last I've managed to figure out how DataSource works. Thanks for suggesting another method. I'll keep it in mind for when I get more adventurous. Regards, John K. richard terry wrote: > On Tue, 22 Jul 2008 07:53:16 am John K wrote: > >> Hi, >>

Re: [Gambas-user] Using DataSource et al

2008-07-27 Thread John K
Hi Benoit, After a few nights dissecting the example and quite a few cups of coffee I finally managed to figure out how DataSource works. I still don't know why, but that will come latter. Thanks for your help, Regards, John K. Benoit Minisini wrote: > On lundi 21 juillet 2008, John

[Gambas-user] Using DataSource et al

2008-07-21 Thread John K
Hi, I'm new to Gambas so maybe I'm trying to run before I can walk. I'm in the process of writing an application which uses sqlite as its database. I've managed to create the database and add data to its tables but now I want to read out the data using datasource, datacontrol & databrowser. I've