[Gambas-user] Drag Icon

2017-03-07 Thread novae_lithic
Hi, I can't understand why my drag icon is not changing with the following code... Public Sub TilesGroup_MouseDrag() If Mouse.Left Then Last.Drag(Last.Tag) Drag.Icon = Picture["icon:/32/add"] End If End where TileGroup is a group of Buttons in an array: Tiles[i, j] = New Button(M

Re: [Gambas-user] Sort multidimensional array?

2017-02-07 Thread novae_lithic
Note the typo, it should read "B.Add(i)" ... the problem persists either way 7. Feb 2017 20:28 by ml-node+s8142n58416...@n7.nabble.com: > Thank you very much, Tobi, for the insights, and the link to the "GridView – > Sortierung der Daten" > > Based on that I tried to implement the following,

Re: [Gambas-user] Sort multidimensional array?

2017-02-07 Thread novae_lithic
Thank you Gianluigi - your DynamicMatrixExmaple was one of the first I explored when starting with Gambas - it's a very useful learning aid. cheers. -- View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58420.html Sent from the gambas-user mailin

Re: [Gambas-user] Sort multidimensional array?

2017-02-07 Thread novae_lithic
Hi Matti, Thank you for your response. I had been considering a similar approach, as it allows me to leave out the columns I wouldn't need. So it's great to see your robust implementation of it. cheers. -- View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-ar

Re: [Gambas-user] Sort multidimensional array?

2017-02-07 Thread novae_lithic
Thank you very much, Tobi, for the insights, and the link to the "GridView – Sortierung der Daten" Based on that I tried to implement the following, to test the concept. But the values for the rows (B) are the same in all cases (always 0 ...) as if the variable "i" wasn't incrementing in the loop