deleteddd
Posted
#1
(In Topic #948)
Trainee
Posted
Regular

Very seriously, if that is true then if I were you I'd be looking to upgrade. I doubt anyone here could help. Version 2.2 was a very long time ago.bored said
I use gambas 2.2 or something btw.
Posted
Guru

I have to agree with thatbruce. The Gambas version 2.23 was released in April 2011! We are now up to version 3.17.3.
What distro are you using?
Posted
Enthusiast

in a select from the database and receive a field from the record with the check or uncheck and when you click on the table you save the check uncheck in the database.
For your misfortunes I am Spanish and I only know Spanish, please, be patient with me, Thank you.
Posted
Guru

See the code below.
First i create both selected and unselected checkbox pictures to use.
Then in column[1] i set each rows text and use the unselected checkbox picture for column[0].
the IsSelected() method checks if the picture in column[0] is the off image or not.
as the form closes it tells you the values of the checkboxes.
You can easily set values on load in the tableview checkboxes by using either the pOn or pOff pictures
You could easily use a different column number
Hope it helps…
Code (gambas)
I guess something like this (put your condition in WhateverMakesItTrue)…
1 guest and 0 members have just viewed this.


