How To PLAY_SOUND in Oracle Forms

发布时间:2017-2-25 10:33:20 编辑:www.fx114.net 分享查询网我要评论
本篇文章主要介绍了"How To PLAY_SOUND in Oracle Forms ",主要涉及到How To PLAY_SOUND in Oracle Forms 方面的内容,对于How To PLAY_SOUND in Oracle Forms 感兴趣的同学可以参考一下。

How To PLAY_SOUND in Oracle Forms

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;


 

上一篇:使用HttpClient的优解
下一篇:排序算法、折半查找

相关文章

相关评论

本站评论功能暂时取消,后续此功能例行通知。

一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!

二、互相尊重,对自己的言论和行为负责。