[Gambas-user] Problem with DataComboView in Gambas 3.10

Benoît Minisini g4mba5 at gmail.com
Fri Oct 27 03:28:36 CEST 2017


Le 27/10/2017 à 01:09, Dave via User a écrit :
> Hello all.
> 
> This is my first try at posting to this user list. Please be kind 
> pointing out any errors I may make posting here.
> 
> I have been trying out Gambas for a few projects I have in mind. One 
> project is a recipe database I have used sporadically since the old PC 
> dBase III days. In that time I have converted it to various other forms 
> from MS Access to LibreOffice Base, etc.
> 
> I am retired now and recently, I decided to try to work on it using 
> Gambas data functions. I have parts of it working using a mysql database 
> on my linux laptop.
> 
> I have a many-to-many relationship from the Recipes table, thru the 
> IngredientList table to the Measure, Foods and FoodPrep tables. I use 
> autoincrement ID's in all tables.
> 
> I was moving along pretty well until I upgraded to Gambas 3.10. I was 
> using 3.8.? (I don't remember) before. The trouble is with using the 
> DataComboView to update the FoodID in IngredientList from the Foods 
> table. In 3.8.? I could use the control if I opened it up with a mouse 
> click, then arrow keyed it down to my choice and then clicked the 
> choice. If I mouse scrolled to the item it would not select, but it 
> closed the combo. Now, in 3.10, when there are enough items in the combo 
> drop-down to activate the vertical scroll bar, as soon as I select an 
> item I get a Null object error. (See the screen shots in the attached 
> tar.gz)
> 
> I tried the same thing in the Gambas example database by adding colors 
> until there were enough to make the scroll bar appear and it gave the 
> same error.
> 
> I included a copy of my system info in the tar.gz, also.
> 
> I would appreciate any help or insight you all may have to offer.
> 
> Thanks,
> 
> Dave
> 
> 

If you can use the last master commit 
https://gitlab.com/gambas/gambas/commit/9fa8e2a5d6e755e1500f9812f39ed902289d2b36, 
you will get a temporary fix.

Regards,

-- 
Benoît Minisini


More information about the User mailing list