Re: [Gambas-user] Selection from GridView

2009-09-15 Thread Ricardo Díaz Martín
I recommend to you you download last version of gambas2 frrom souceforge and compile this. The gambas pakage in ubuntu 8.1 is too old (I don't know why ubuntu pakages version is 2.7 - it's gambas version doesn't exist!) 2009/9/11 Aleksandrs Livshics > I used 2.7 on eeepc version of Ubuntu 8.1 (c

Re: [Gambas-user] Selection from GridView

2009-09-11 Thread Aleksandrs Livshics
I used 2.7 on eeepc version of Ubuntu 8.1 (called EasyPeasy 1.1), but now I have compiled 2.16 on the same system. No difference. I can select one row only or a group of rows, but not 2 rows in different places of the GridView. But I cannot imagine how this netbook may be different from a usual PC

Re: [Gambas-user] Selection from GridView

2009-09-11 Thread Ricardo Díaz Martín
I think you have a bug in your gambas2 version. What distro are you using? (I always run gambas in ubuntu because I've got problems with fedora and opensuse and the instalation in ubuntu form sources are easy and clear - you can see step by step in gambasdoc.org) Are you using your distro reposito

Re: [Gambas-user] Selection from GridView

2009-09-10 Thread Aleksandrs Livshics
Thank you. I was not clear enough, sorry. The problem is not with programming, but with the selection by mouse and keyboard. The Ctrl and Shift do not work the way they do with the ListBox for example. The only way to select more then one row is to drag the mouse cursor keeping the left button pre

Re: [Gambas-user] Selection from GridView

2009-09-09 Thread Ricardo Díaz Martín
To do the first write (select first, third and sixth rows - gvYourGridView is the name of the gridview in your form) gvYourGridView.Rows.[0].Selected = True gvYourGridView.Rows.[2].Selected = True gvYourGridView.Rows.[5].Selected = True To do the second only write gvYourGridView.Rows.Unselect

[Gambas-user] Selection from GridView

2009-09-09 Thread Aleksandrs Livshics
Hi Gambas users. I cannot fond how to select several rows from a GridView. The difficulty happens only if the rows to select are not consequent. If there is a simple interval of rows, then selection works well, but if I want to select, say, row1 and row5 ? Also how can a row selection be canceled