Search found 262 matches
- Monday 27th November 2023 3:10pm
- Forum: The Gambas IDE
- Topic: Gambas -> USB -> DragonRise USB Joystick -> Use
- Replies: 7
- Views: 13424
Re: Gambas -> USB -> DragonRise USB Joystick -> Use
A loophole is always possible.
- Monday 27th November 2023 10:43am
- Forum: The Gambas IDE
- Topic: Gambas -> USB -> DragonRise USB Joystick -> Use
- Replies: 7
- Views: 13424
Re: Gambas -> USB -> DragonRise USB Joystick -> Use
In my opinion "js0" is interesting.
Is "/dev/input/js0" file-device present ?
Is "/dev/input/js0" file-device present ?
- Tuesday 21st November 2023 11:24am
- Forum: Beginners
- Topic: Upload and generate a text file
- Replies: 8
- Views: 10974
Re: Upload and generate a text file
...perhaps it would be appropriate for you to show those codes that generate errors: an attempt could be made to resolve them.
- Monday 20th November 2023 10:16pm
- Forum: General
- Topic: DrawingArea.Refresh erases the DrawingArea
- Replies: 8
- Views: 8227
Re: DrawingArea.Refresh erases the DrawingArea
- Monday 20th November 2023 9:00pm
- Forum: Beginners
- Topic: a prompt for input in c.l. application
- Replies: 3
- Views: 3547
Re: a prompt for input in c.l. application
In addition to "File.In.ReadLine()" you can also use "Input":
Public Sub Main()
Dim s As String
Write "type something here: "
Flush
Input s
Print "the text typed was: "; s
End
- Sunday 19th November 2023 11:39pm
- Forum: General
- Topic: DrawingArea.Refresh erases the DrawingArea
- Replies: 8
- Views: 8227
Re: DrawingArea.Refresh erases the DrawingArea
- Sunday 19th November 2023 10:33pm
- Forum: General
- Topic: DrawingArea.Refresh erases the DrawingArea
- Replies: 8
- Views: 8227
Re: DrawingArea.Refresh erases the DrawingArea
I would use :? arrays for color and lines. Private lines As New Float[] Private colores As New Integer[] Private StatusValue1 As Byte Public Sub Form_Open() Timer1.Delay = 15000 Timer1.Start End Public Sub DrawingArea1_Draw() If lines.Count == 0 Then Return Select Case StatusValue1 Case 0 colores.Pu...
- Friday 17th November 2023 3:51pm
- Forum: Beginners
- Topic: Dropping a file onto TextArea
- Replies: 3
- Views: 3182
- Wednesday 15th November 2023 3:02pm
- Forum: General
- Topic: How to do audio output selection for MediaPlayer control?
- Replies: 20
- Views: 17296
Re: How to do audio output selection for MediaPlayer control?
Option 2 If this can not be done, to read in the samples from a sound device at 22.05 kHz, stereo at 8bits to send to a Byte or an Integer to work with. In general with gb.media Component, to change audio characteristics of a file, during its conversion, the MediaPipeline and MediaFilter Classes sh...
- Wednesday 1st November 2023 9:31pm
- Forum: General
- Topic: find a control
- Replies: 11
- Views: 11656
Re: find a control
:? ...you could also use an array of Frame: Private ffrr As New Frame[5] Public Sub Form_Open() For b As Byte = 0 To 4 With ffrr[b] = New Frame(Me) .Name = "A" & b .X = (b * 60) .Y = 50 .W = 50 .H = 50 .Text = "B" & b End With Next End Public Sub Button1_Click() Print ffr...