fgl_bell( )

The fgl_bell() function requires no arguments to be passed to it and simply invokes a system bell in the client.

This system bell is a standard sound that can be used, for example, in conjunction with a warning dialog to inform the user of errors.

Each function call plays one short bell sound. For multiple instances, further function calls are required.

In case the fgl_bell() function is called for several times immediately one after another, only one bell sound is produced. To separate the sounds the SLEEP statement can be used.

Querix would advise using this function in place of the '\b' bell meta-character.

MAIN

  DISPLAY "Let's play a BELL sound" AT 5,5

  CALL fgl_bell()

CALL fgl_winmessage("Exit","Press any key to close this demo application","info")

END MAIN

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.