Search found 265 matches

by vuott
Saturday 17th March 2018 6:03pm
Forum: General
Topic: Individual color values of a pixel?
Replies: 8
Views: 15306

Re: Individual color values of a pixel?

...a very little and simple code: Public Sub Button1_Click() Dim im As Image Dim px, n As Integer im = Image.Load("/path/of/my/file/image") For n = 0 To im.Pixels.Max px = im.Pixels[n] Print n, "Pixel: "; Hex(px, 6) Print Null, Hex(Shr(px, 16) And &FF, 2), Hex(Shr(px, 8) And ...
by vuott
Tuesday 6th March 2018 8:07am
Forum: General
Topic: How To Play Audio and Video With Gambas?
Replies: 3
Views: 7592

Re: How To Play Audio and Video With Gambas?

I just would like to point out the specific " MediaPlayer " Class of the Gambas gb.media Component. Look this at: http://gambaswiki.org/wiki/comp/gb.media/mediaplayer Other and more generally on playing audio-video: http://www.gambas-it.org/wiki/index.php?title=Guide_della_comunit%C3%A0#Ge...
by vuott
Monday 12th June 2017 9:29pm
Forum: General
Topic: Object.Lock
Replies: 4
Views: 7181

Re: Object.Lock

Does anybody have any example code using Object.Lock and Object.Unlock ? Just a little and simple example: Public Sub ToggleButton1_Click() If ToggleButton1.Value Then Object.Lock(Button1) ToggleButton1.Text = "Now Button1's locked !" ' Button1 click event will not be raised ! Else Object...
by vuott
Friday 12th May 2017 1:55pm
Forum: General
Topic: Inkey
Replies: 10
Views: 15921

Re: Inkey

You might also try some other ways: - http://www.gambas-it.org/wiki/index.php?title=Immissione_di_dati_dalla_tastiera_durante_l%27esecuzione_di_un_programma#Invio_di_dati_dalla_tastiera_in_un.27applicazione_a_riga_di_comando - http://www.gambas-it.org/wiki/index.php?title=Individuare_i_tasti_della_t...
by vuott
Thursday 27th April 2017 1:12pm
Forum: General
Topic: gb.sdl2.audio
Replies: 3
Views: 6742

Re: gb.sdl2.audio

cogier wrote: Wednesday 26th April 2017 2:33pm... using gb.sdl2.audio.
Hello,
you can look at this page of italian Wiki:

http://www.gambas-it.org/wiki/index.php ... sdl2.audio