| Mirage Source http://miragesource.net/forums/ |
|
| something easy, but i hink i am too stupid lol ^^ http://miragesource.net/forums/viewtopic.php?f=201&t=359 |
Page 1 of 1 |
| Author: | Gilgamesch [ Tue Aug 08, 2006 11:20 am ] |
| Post subject: | something easy, but i hink i am too stupid lol ^^ |
yeah, as i said before its easy..i think^^: so, when you press enter or attack someone, or cast a spell, there is always this windows sound: "ding" how do i remove that :O, i wasnt able to find anythi ng related to that :S thanks! |
|
| Author: | Lea [ Tue Aug 08, 2006 11:27 am ] |
| Post subject: | |
Code: Private Sub txtName_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Call picConnect_Click KeyAscii = 0 'The Magic line... End If End Sub |
|
| Author: | Gilgamesch [ Mon Oct 09, 2006 3:42 pm ] |
| Post subject: | |
Dave wrote: Code: Private Sub txtName_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Call picConnect_Click KeyAscii = 0 'The Magic line... End If End Sub sry to bump up this topic, but i forgot to read it xD uhm... keyascii = 0 lets the sound play? but, what about attacking, i didnt find anything related to attacking or pressing enter or something esle |
|
| Author: | Reece [ Mon Oct 09, 2006 4:12 pm ] |
| Post subject: | |
Sorry - Didnt read the topic right xD |
|
| Author: | Lea [ Mon Oct 09, 2006 7:11 pm ] |
| Post subject: | |
If KeyAscii = 13 Then 'This means you press enter Setting KeyAscii = 0 makes it NOT beep. |
|
| Author: | Gilgamesch [ Mon Oct 09, 2006 8:52 pm ] |
| Post subject: | |
Dave wrote: If KeyAscii = 13 Then 'This means you press enter
Setting KeyAscii = 0 makes it NOT beep. so i have to set all KeyAscii to = 0 and it doesnt beep? |
|
| Author: | Lea [ Tue Oct 10, 2006 1:15 am ] |
| Post subject: | |
yeah |
|
| Author: | Gilgamesch [ Wed Oct 11, 2006 10:09 am ] |
| Post subject: | |
Dave wrote: yeah
uhm..sure that if i change all the keyascii = something, to keyascii = 0 the game will still work properly? |
|
| Author: | Lea [ Wed Oct 11, 2006 11:36 am ] |
| Post subject: | |
only change it in _KeyPress events, and only after you use it. |
|
| Author: | Gilgamesch [ Wed Oct 11, 2006 7:32 pm ] |
| Post subject: | |
Dave wrote: only change it in _KeyPress events, and only after you use it.
ahh, so in ever: _KeyPress sub i put keyascii = 0 ? |
|
| Author: | Lea [ Wed Oct 11, 2006 7:41 pm ] |
| Post subject: | |
yep |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|