Hi Fabien,
Thank you for the example but I made a mistake and it’s not for a GRIDVIEW but
for ColumnView that I would detect the Icon.
Do you have any idea to do that please ?
Olivier Cruilles
> Le 19 janv. 2017 à 07:46, Gianluigi a écrit :
>
> Hi Fabien,
>
> very interesting especially t
Hi Fabien,
very interesting especially the explanation of _Draw :-)
I thank you so much
Regards
Gianluigi
2017-01-19 12:07 GMT+01:00 Fabien Bodard :
> Ok this is my fault as i've not tested my code ... so i've forgot to
> little things
>
> This is so the working code :
>
>
> Private aMyValues
Ok this is my fault as i've not tested my code ... so i've forgot to
little things
This is so the working code :
Private aMyValues As New String[]
Private aMyStates As New Integer[]
Private aMyPicState As New Picture[3]
Public Sub _New()
aMyPicState[0] = Picture["img/checked.png"]
aMyPicSt
Hi Fabien,
I did not understand if you answer the question by Olivier or to that of
the Spanish forum.
Your code am not able to make it work, sorry, you can have a look?
Regarding the new question by Olivier am attaching a possible solution,
always it comes from Shordi code.
Regards
Gianluigi
Maybe the best will beto use 2 column... one for the icon and one for
the text. The problem of many users is they want to use the gridview
as a data container.
Better way will be to have 2 array or an array of class with two value.
Private aMyValues as New String[]
private aMyStates as new inte
You mean something like that:
Public Sub GridView1_Click()
' From the Shordi's code, look here
https://www.gambas-es.org/show_post.php?p=34694
With GridView1
If .Column = 0 Then '
Columns with CheckBox
If .Current.Picture = Picture[