2010/1/17 kevinfishburne :
> When retrieving the value of a pixel at x,y from the picture in a picturebox
> control it outputs a single value. How does this value represent the pixel's
> value, and can it be easily converted to an RGB value?
Red = Value Mod 256
Green = Int(Value / 256) Mod 256
Bl
2010/1/17 Aaron Peachey :
> Hi all,
> I'm just learning Gambas and trying to do something simple (I thought)
> by making custom versions of controls.
>
> For example, I want to inherit the Label and TextBox controls to add
> some new properties and methods.
> As a basic example, in my program the l
When retrieving the value of a pixel at x,y from the picture in a picturebox
control it outputs a single value. How does this value represent the pixel's
value, and can it be easily converted to an RGB value?
This is something that's going to need to be done 4,294,967,296 times, so is
there a qui
Hi all,
I'm just learning Gambas and trying to do something simple (I thought)
by making custom versions of controls.
For example, I want to inherit the Label and TextBox controls to add
some new properties and methods.
As a basic example, in my program the labels for mandatory fields are a
dif
Thanks a lot Fabien,
it works now !
A la prochain
Pino
> Please, where am I wrong ?
> For Element[1] and Element[0] I get always the same values
>
> STATIC PUBLIC Lista AS NEW Collection
> ...
> ...
>
> PUBLIC FUNCTION xyz ...
>
> DIM Element AS String[2]
> DIM Parti AS String[]
> ...
>
2010/1/17 kobolds :
>
> OK , I think I finally found the bugs .
>
> you can try your self and will see the bug.
> 1. add a button to a form
> 2. change the button width and height to 60 . or any even number
> 3. click to select the button to copy and paste . see the new pasted button
> width and he
Form.scaled = false
2010/1/16 M. Cs. :
> I need fixed size for the GUI and all the texts. Is it possible to have
> exactly the same sizes for all the screen resolutions? I don't want to have
> dynamically scaled texts.
> Is it possible to set them as fixed all at once?
> --
2010/1/15 Pino Zollo :
> Please, where am I wrong ?
> For Element[1] and Element[0] I get always the same values
>
> STATIC PUBLIC Lista AS NEW Collection
> ...
> ...
>
> PUBLIC FUNCTION xyz ...
>
> DIM Element AS String[2]
> DIM Parti AS String[]
> ...
> DO WHILE...
Parti = NEW Strin
just don't forget when you add multiple array, think to add new array
as only the memory address is added to the collection , not the array
content. In other case all the array in the collection link to the
same one
dim mycol as NEW collection
dim i as integer
dim aText as string[]
For i = 0 to
Am Samstag, den 16.01.2010, 21:41 + schrieb Joshua Higgins:
> Ah, yes, please try this version.
Salut Joshua,
YES, for my Ubuntu 8.04.3 LTS and Mandriva 2010.0 it works fine.
Thanks
Charlie
--
Throughout its 18-yea
Ah, yes, please try this version.
--
joshua higgins
>>--
report-ng
Description: Binary data
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, cr
OK , I think I finally found the bugs .
you can try your self and will see the bug.
1. add a button to a form
2. change the button width and height to 60 . or any even number
3. click to select the button to copy and paste . see the new pasted button
width and height now become 59 .
his bug on
Am Freitag, den 15.01.2010, 10:36 + schrieb Joshua Higgins:
> Hi list,
>
> I have updated the report-ng script so that it should work with any
> distro that is supplying an /etc/lsb-release file. Before it only
> expected Ubuntu to provide this file.
>
> Regards,
Salut Joshua,
send you the
Am Freitag, den 15.01.2010, 10:36 + schrieb Joshua Higgins:
> Hi list,
>
> I have updated the report-ng script so that it should work with any
> distro that is supplying an /etc/lsb-release file. Before it only
> expected Ubuntu to provide this file.
>
> Regards,
Salut Joshua,
send you the
I need fixed size for the GUI and all the texts. Is it possible to have
exactly the same sizes for all the screen resolutions? I don't want to have
dynamically scaled texts.
Is it possible to set them as fixed all at once?
yes . it's selected by default
Kadaitcha Man wrote:
>
> 2010/1/17 kobolds :
>>
>> I using gb3 and qt4 and I still having these problem
>
> Yes, but did you select qt4 in Project > Properties > Components?
>
> --
> Thr
On 17/01/10 00:27, Pino Zollo wrote:
> Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net
> ha scritto:
>
>>> Disp.DisRes.Text = Disp.DisRes.Text & "~"
>>> INC i
>>> LOOP
>>> ' CBCommand.Clear
>>> ' CBComm2.C
Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net
ha scritto:
> > Disp.DisRes.Text = Disp.DisRes.Text & "~"
> > INC i
> > LOOP
> > ' CBCommand.Clear
> > ' CBComm2.Clear
> > FOR EACH Element IN Lista
>
Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net
ha scritto:
> >
>
> I look at the code above and wonder abount the first 2 lines.
> Say i is 3 and count is 6. When it loops you get the following:
> i count
> 3 6
> 4 5
> end of loop
>
Il sabato 16 gennaio 2010 08:25:56 hai scritto:
> Salut Pino,
>
> my problem with your problem is:
> That is just a piece of code, I can only run and debug, if I invent ALL
> the rest.
>
> And so,every test will say nothing(if it is not a typo in that piece
> code).
>
> So please sent always a full
2010/1/17 kobolds :
>
> I using gb3 and qt4 and I still having these problem
Yes, but did you select qt4 in Project > Properties > Components?
--
Throughout its 18-year history, RSA Conference consistently attracts the
wo
I using gb3 and qt4 and I still having these problem
Kadaitcha Man wrote:
>
> 2010/1/16 Fiddler63 :
>> kobolds wrote:
>>>
>>> gambas3 qt4
>>>
>>> I notice that gb ide auto change the width when it's not suppose too.
>>>
>>> I have 3 button each with width 90, 100,100
>>>
>>> I want all 3 butto
On 16/01/10 18:23, Pino Zollo wrote:
> Il venerdì 15 gennaio 2010 17:39:14 hai scritto:
>
>> Am Freitag, den 15.01.2010, 16:04 -0300 schrieb Pino Zollo:
>>
>>> DIM Dict AS NEW Collection
>>> DIM Element AS String
>>>
>>> Dict["Blue"] = 3
>>> Dict["Red"] = 1
>>> Dict["Green"] = 2
>>>
>>> FOR
Am Samstag, den 16.01.2010, 07:23 -0300 schrieb Pino Zollo:
> Il venerdì 15 gennaio 2010 17:39:14 hai scritto:
> > Am Freitag, den 15.01.2010, 16:04 -0300 schrieb Pino Zollo:
> > > DIM Dict AS NEW Collection
> > > DIM Element AS String
> > >
> > > Dict["Blue"] = 3
> > > Dict["Red"] = 1
> > > Dict["
2010/1/16 Pino Zollo :
> The two print statements print exactly the same thing...the Lista.key is
> correct and all different, but the
> other ( ; Element[1];; " ";; Element[0] ) print always the last element
> added to the structure.
First you need to sort out if you have a problem in your d
Il venerdì 15 gennaio 2010 17:39:14 hai scritto:
> Am Freitag, den 15.01.2010, 16:04 -0300 schrieb Pino Zollo:
> > DIM Dict AS NEW Collection
> > DIM Element AS String
> >
> > Dict["Blue"] = 3
> > Dict["Red"] = 1
> > Dict["Green"] = 2
> >
> > FOR EACH Element IN Dict
> > PRINT Element;
> > NEXT
>
Kadaitcha Man wrote:
>
> 2010/1/16 Fiddler63 :
>> kobolds wrote:
>>>
>>> gambas3 qt4
>>>
>>> I notice that gb ide auto change the width when it's not suppose too.
>>>
>>> I have 3 button each with width 90, 100,100
>>>
>>> I want all 3 button width become 90 . I select them and choose align
>>
A button with the following code will cause a Signal 11 error in Gambas 2.19.
If I remove the ([50, 50]) I get no error.
PUBLIC SUB New_Btn_Click()
DIM hPic AS Picture
hPic = NEW Picture([50, 50])
END
Cheers
Kim
--
View this message in context:
http://old.nabble.com/Error---Signal-11---Ga
2010/1/16 Fiddler63 :
> kobolds wrote:
>>
>> gambas3 qt4
>>
>> I notice that gb ide auto change the width when it's not suppose too.
>>
>> I have 3 button each with width 90, 100,100
>>
>> I want all 3 button width become 90 . I select them and choose align same
>> width . I notice all 3 button wi
kobolds wrote:
>
> gambas3 qt4
>
> I notice that gb ide auto change the width when it's not suppose too.
>
> I have 3 button each with width 90, 100,100
>
> I want all 3 button width become 90 . I select them and choose align same
> width . I notice all 3 button width now become 91 when it
30 matches
Mail list logo