Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ??Chr(7) scrap my screen
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00688592
Message ID:
00688665
Views:
18
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()
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform