Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ??Chr(7) scrap my screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00688592
Message ID:
00688665
Vues:
17
set console off
?chr(7) && or ??chr(7)
set console on && or whatever saved setting you had

should also work.
? chr(7) does seem to send the output to the screen as well as sound the bell (or wavfile). setting the console off discards the unwanted output.



>BINGO!
>The guru made it again! Many thanks Jim!
>...the only problem is that I don't understand WHY it works !??
>
>
>>>I am trying to make a sound when the user goes over a button.
>>>I am using set bell to 'file.wav' in my screen init and in the mouseover method, I am using ??chr(7). It works fine execpt the fact that this command make my screen go up a bit. Is there a way to avoid this.
>>>
>>>Thanks
>>>Eric
>>
>>Eric,
>>
>>Try this;
>>
>>
>>ACTIVATE SCREEN
>>?? CHR(7)
>>ThisFrom.Show()
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform