Re: [Gambas-user] Array data to Gridview?

2017-02-06 Thread Rolf-Werner Eilert
Hi Riccardo, just use the DATA event for the Gridview. In short: You just define the number of Columns and Rows for the Gridview. As soon as you define the Rows, the Gridview will begin to load the contents for the cells by jumping into the Data event over and over again. You only have to mak

[Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit

2017-02-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #10 by Benoît MINISINI: It should be fixed in revision #8088. Benoît MINISINI changed the state of the bug to: Fixed. -- Check out the vibrant

[Gambas-user] [Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

2017-02-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4- Comment #7 by Benoît MINISINI: It should be fixed in revision #8088. Benoît MINISINI changed the state of the bug to: Fixed. -- Check out the vibrant

Re: [Gambas-user] Array data to Gridview?

2017-02-06 Thread Tobias Boege
On Mon, 06 Feb 2017, Riccardo wrote: > Hi, > > > > > > > > I have a multidimensional array with 32,000 records. It takes quite a while > > to load this into a Gridview, and even longer if I provide the user with > > some feedback during the process (an updating label, a progress bar and so

Re: [Gambas-user] Sort multidimensional array?

2017-02-06 Thread Tobias Boege
On Mon, 06 Feb 2017, Riccardo wrote: > Hi, > > Is it possible to use the array.sort() method on a two-dimensional array? > > > >   > > >     Public arr_Response As New String[][] > > > > > > > Specifically, I'd like to sort the entire array based on the contents of the > second column

Re: [Gambas-user] Sort multidimensional array?

2017-02-06 Thread Matti
Hi Riccardo, this is a question I had long years ago. At this time it was not possible. As I remember, I used a dirty workaround, reducing the two-dimensionsional array by inserting a "/" to a one-dimensional array, sorting it and removing the "/" later. Depends on what array you have to sort.

[Gambas-user] Array data to Gridview?

2017-02-06 Thread Riccardo
Hi, > I have a multidimensional array with 32,000 records. It takes quite a while > to load this into a Gridview, and even longer if I provide the user with some > feedback during the process (an updating label, a progress bar and so on...).   > Is there a faster way to load the array dat

[Gambas-user] Sort multidimensional array?

2017-02-06 Thread Riccardo
Hi, Is it possible to use the array.sort() method on a two-dimensional array?   >     Public arr_Response As New String[][] > Specifically, I'd like to sort the entire array based on the contents of the second column something like: arr_Response[][1].sort() ...  cheers. -

Re: [Gambas-user] dynamic created Menus

2017-02-06 Thread Gianluigi
Hi Charlie, thank you for the answer. Unfortunately, If I understand correctly, your example does not answer to my needs nor that of Karl. Regards Gianluigi 2017-02-06 17:04 GMT+01:00 Charlie : > Have a look at the code attached, the menu and menu items are all created > in > code. I think this

Re: [Gambas-user] dynamic created Menus

2017-02-06 Thread Charlie
Have a look at the code attached, the menu and menu items are all created in code. I think this will do what you need. MenuExample.tar Hope it helps. - Check out

Re: [Gambas-user] dynamic created Menus

2017-02-06 Thread Gianluigi
As you can dynamically assign a shortcut? This code do not work: hMenuItem.Text = Shortcut("this works", "{[Alt_R]t}") Regards Gianluigi 2017-02-06 15:36 GMT+01:00 Fabien Bodard : > I think the good way is this one :-) > > Public Sub AddMenuFromOutsideForm(hMenu As Menu) > Dim hMenuItem As Ob

Re: [Gambas-user] dynamic created Menus

2017-02-06 Thread Fabien Bodard
I think the good way is this one :-) Public Sub AddMenuFromOutsideForm(hMenu As Menu) Dim hMenuItem As Object Dim hParent As Object = Object.Parent(hMenu) hMenuItem = New Menu(hMenu) hMenuItem = New Menu(hMenu) Object.Attach(hMenuItem, hParent, "mnu_this_dont_work")

[Gambas-user] dynamic created Menus

2017-02-06 Thread Charlie Reinl
Salut, how can I use dynamic created Menus, when they are made outside the Form. I expanded an example from Gianluigi to show what I want. The problem is, the Click event is not fired, if the menu is not created in the forms class. MenuGroupTag-0.0.2.tar.gz Description: application/compressed-

[Gambas-user] [Gambas Bug Tracker] Bug #1076: Error with FAST

2017-02-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1076&from=L21haW4- Gianluigi GRADASCHI added an attachment: SortCasualNunbers-FAST-0.0.1.tar.gz -- Check out the vibrant tech community on one of the world's most engagi

[Gambas-user] [Gambas Bug Tracker] Bug #1076: Error with FAST

2017-02-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1076&from=L21haW4- Gianluigi GRADASCHI reported a new bug. Summary --- Error with FAST Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : JIT compiler Description --- If I add "Fas