Gb.util is installed, but can't make it work
Posted
#1
(In Topic #1411)
Regular

When I use Dim nutrientsin as new gb.util.csvfile, the gb turns orange, but util never shows up in the menu of options to add.
I also tried dim nutrientsin as csvfile in the class section, before the public sub, and after. Csvfile turns orange, but then it comes up with unknown identifier error.
I ran search and found out the gb.util is installed. This is in a Chromebook, Debian Trixie, Gambas 3.20.
How do I get this to open, read, and write to one or more csv files.
Thx.
Posted
Guru

Goto project properties and select components.
there you should find the gb.util component to enable.
Posted
Regular

Thx
Posted
Guru

just select the 1 box to the left
Posted
Regular

Is there something else that needs to be installed? I only have gb.form, gb.gui, gb.image, and gb.util checked off.
Ps - there is one other error but I worked around it by opening the fmain form auto resize to false, I think. Before I did that, the from just opened as a kind of cursor thing I had to expand with the mouse.
The error is still there
Org.gsmbas. 1763:1763 gtk warning negative content width -6 (allocation 12, extent 9 x 9) while allocating gadget. Node entry owner gtkentry.
There are 2 other errors like that with different sizes.
Thx
Posted
Regular

Ps all of a sudden it's working, but I have no clue why.
Usually I don't have these kinds of problems.
Thx for helping.
Posted
Guru

<IMG src="https://www.cogier.com/gambas/CSVExample.png">
</IMG>Here is a small example program
Posted
Regular

1 guest and 0 members have just viewed this.


