[Gambas-user] Help! How to assign a theme to an editor control

2016-07-03 Thread adamn...@gmail.com
I am totally lost with this one :-( Given I have a custom IDE highlighting theme saved as a file in my home dir. Say "bb.gambas.theme". Now I want to apply that same highlighting scheme to an editor control in some gui project. How do I go about this? As I said - totally lost. tia Bruce --

Re: [Gambas-user] Bug on ImageStat( ).Height ?

2016-07-03 Thread Gianluigi
I confirm the malfunction: Print ImageStat("Glub128.jpeg").Height = 4360 Print ImageStat("Glub128.jpeg").Width = 128 Regards Gianluigi 2016-07-03 17:26 GMT+02:00 Ru Vuott : > Hello, > > using ImageStat().Height with .JPG type images, it returns "always" the > value: 4360. > > Regards > > vuott >

[Gambas-user] Bug on ImageStat( ).Height ?

2016-07-03 Thread Ru Vuott
Hello, using ImageStat().Height with .JPG type images, it returns "always" the value: 4360. Regards vuott -- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge

Re: [Gambas-user] array of classes

2016-07-03 Thread Shane
FYI this will not work as is as i found out Public Sub Main() Dim idx as integer Dim hBlock as Block For idx = 0 to MAX_BLOCKS-1 hBlock = new Block Blocks[idx] = hBlock Next must be this way or in my case it did work as i was filling new values in the loop On 03/07/16 19:38, adamn...@

Re: [Gambas-user] array of classes

2016-07-03 Thread Shane
thanks Bruce that was my problem i just fixed a little differant i used the add function thanks for your help Shane. On 03/07/16 19:38, adamn...@gmail.com wrote: > On Sun, 3 Jul 2016 18:20:15 +1000 > Shane wrote: > >> I'm trying create a array of myClass but when i create it i have an >> array o

Re: [Gambas-user] array of classes

2016-07-03 Thread adamn...@gmail.com
On Sun, 3 Jul 2016 18:20:15 +1000 Shane wrote: > I'm trying create a array of myClass but when i create it i have an > array of null values > > i have my Rect.class > > Public x As Integer > Public y As Integer > Public width As Integer > Public height As Integer > > > then my Block.class >

[Gambas-user] array of classes

2016-07-03 Thread Shane
I'm trying create a array of myClass but when i create it i have an array of null values i have my Rect.class Public x As Integer Public y As Integer Public width As Integer Public height As Integer then my Block.class Public Screenpos As New Rect Public Imagepos As New Rect Public num_hits A