Re: [Gambas-user] Gambas mime type

2016-04-05 Thread T Lee Davidson
On 04/05/2016 03:17 PM, Matti wrote: > Unfortunately, I have to set up my system (openSUSE 42.1) completely new. > I installed Gambas 3.8.4 > fromhttp://download.opensuse.org/repositories/Education/openSUSE_Leap_42.1/, > and it runs ok as it did before. > > But the packager seems to have made a m

Re: [Gambas-user] How to sort a TableView?

2016-04-05 Thread T Lee Davidson
Oops. Good catch. Thank you for pointing that out. Fixed. On 04/05/2016 04:46 PM, Gianluigi wrote: > Lee look what you made a mistake: > (no TableView1 but GridView1) > ValueSorted.Sort(IIf(GridView1.Columns.Ascending, gb.Ascent, gb.Descent)) > > Ciao > Gianluigi -- Lee __ "Artificial

Re: [Gambas-user] How to sort a TableView?

2016-04-05 Thread Gianluigi
Lee look what you made a mistake: (no TableView1 but GridView1) ValueSorted.Sort(IIf(GridView1.Columns.Ascending, gb.Ascent, gb.Descent)) Ciao Gianluigi 2016-04-05 20:11 GMT+02:00 T Lee Davidson : > Yes, I agree since the Mode for String[].Sort is integer and > GridView.Columns.Ascending is bool

Re: [Gambas-user] Gambas mime type

2016-04-05 Thread Gianluigi
Here you have watched? http://gambas.8142.n7.nabble.com/gambas3-broken-after-opensuse-13-1-upgrade-td47482.html http://gambas.8142.n7.nabble.com/How-to-overcome-Bytecode-too-recent-Please-upgrade-Gambas-td46081.html Regards Gianluigi 2016-04-05 21:17 GMT+02:00 Matti : > Unfortunately, I have to

Re: [Gambas-user] How to sort a TableView?

2016-04-05 Thread Gianluigi
OK is the same 2016-04-05 20:11 GMT+02:00 T Lee Davidson : > Yes, I agree since the Mode for String[].Sort is integer and > GridView.Columns.Ascending is boolean. > > But, how about this? > ValueSorted.Sort(IIf(TableView1.Columns.Ascending, gb.Ascent, gb.Descent)) > > > On 04/05/2016 10:17 AM, Gi

[Gambas-user] Gambas mime type

2016-04-05 Thread Matti
Unfortunately, I have to set up my system (openSUSE 42.1) completely new. I installed Gambas 3.8.4 from http://download.opensuse.org/repositories/Education/openSUSE_Leap_42.1/, and it runs ok as it did before. But the packager seems to have made a mistake, as *.gambas files are regarded as plai

Re: [Gambas-user] How to sort a TableView?

2016-04-05 Thread T Lee Davidson
Yes, I agree since the Mode for String[].Sort is integer and GridView.Columns.Ascending is boolean. But, how about this? ValueSorted.Sort(IIf(TableView1.Columns.Ascending, gb.Ascent, gb.Descent)) On 04/05/2016 10:17 AM, Gianluigi wrote: > Hello Lee, > Milio propose this change to avoid the arro

Re: [Gambas-user] How to sort a TableView?

2016-04-05 Thread Gianluigi
Hello Lee, Milio propose this change to avoid the arrows appear upside than sorting. Instead of: ValueSorted.Sort(GridView1.Columns.Ascending) this code: If GridView1.Columns.Ascending Then ValueSorted.Sort(gb.Ascent) Else ValueSorted.Sort(gb.Descent) Endif Regards Gianluigi 2016-04-01 10:32