Hello,
When I use the "sound" command in my program, I've got problems with different controls on the form : all controlls should appear before the sound command runs and only some of them do that; the others appear after the sound command ends.
Here is the part of the code concerned.
Could anybody help me ?
Thank You
Pascal - France.
When I use the "sound" command in my program, I've got problems with different controls on the form : all controlls should appear before the sound command runs and only some of them do that; the others appear after the sound command ends.
Here is the part of the code concerned.
Could anybody help me ?
Thank You
Pascal - France.
B4X:
Sub App_Start
.......
If CBOptionsVocal.Checked Then
Sleep (1000)
Dire (Nb1)
Select Operation
Case "+"
Sound (".\sons\" & CbOptionsLangue.Item(CbOptionsLangue.SelectedIndex) & "_" & "plus.wav")
Case "-"
Sound (".\sons\" & CbOptionsLangue.Item(CbOptionsLangue.SelectedIndex) & "_" & "moins.wav")
Case "x"
Sound (".\sons\" & CbOptionsLangue.Item(CbOptionsLangue.SelectedIndex) & "_" & "fois.wav")
Case ":"
Sound (".\sons\" & CbOptionsLangue.Item(CbOptionsLangue.SelectedIndex) & "_" & "divise.wav")
End Select
Sleep (1200)
Dire (Nb2)
End If
....
End Sub
Sub Dire (temp)
Sound (".\sons\" & CbOptionsLangue.Item(CbOptionsLangue.SelectedIndex) & "_" & temp & ".wav")
Sleep (1200)
End Sub