Play_sound is used to play audio files in Oracle Forms, Play_Sound plays the sound object in the specified sound item.

PLAY_SOUND examples
The following plsql block you can write in when-button-pressed trigger for a push button item, when button clicked  read a sound object from the file system and play it. Note: since an item must have focus in order to play a sound, the trigger code includes a call to  the built-in procedure GO_ITEM:

BEGIN
IF :clerks.last_name = ’BARNES’ THEN
GO_ITEM(’orders.filled_by’);
READ_SOUND_FILE(’t:\orders\clerk\barnes.wav’,’wave’,’orders.filled_by’);
PLAY_SOUND(’orders.filled_by’);
END IF;
END;


How To PLAY_SOUND in Oracle Forms
 

相关文章:

  • 2022-02-08
  • 2022-02-09
  • 2022-01-11
  • 2021-07-16
  • 2022-12-23
  • 2021-07-16
  • 2021-09-16
  • 2021-10-01
猜你喜欢
  • 2021-09-27
  • 2022-02-27
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
相关资源
相似解决方案