Skip to content

[VFP] MessageBox() does not play a sound with Chr(7) #1868

@cpyrgas

Description

@cpyrgas

When using MessageBox() with Chr(7), no beep is heard, no matter the sate of SET BELL.

I was unable to hear anything in VFP either, not by printing to Console or with MessageBox(), so I'm not sure what sounds should be played and under what conditions.

In X# when you use ? Chr(7) or ? "sometext"+Chr(7), or Console.WriteLine( Chr(7) ), a beep is heard, apparently supported by the Console class. Not sure if VFP uses the same sound, or soemthing different.

Also not sure if a sound should be heard if Chr(7) is used for the title or text of the message box or for either or them.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions