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;
相关文章
- 08-14XAF How to show custom forms and controls in XAF (Example)
- 08-14How To PLAY_SOUND in Oracle Forms
- 08-14Populating Tree Item With Record Group In Oracle Forms
- 08-14How to use a 32bit Oracle11_g client in 64 win system and not conflict with sqldeveloper 64 bit tool
- 08-14Giving Data Backup Option in Oracle Forms 6i
- 08-14Calling / Running a report in Oracle forms 10g / 11g
- 08-14Forms Process (FRMWEB) Consumes 100% of CPU in Oracle Applications R12 (文档 ID 745711.1)
- 08-14How to Install/Deinstall Oracle Workspace Manager (文档 ID 263428.1)
- 08-14Populate A List Item With Record Group In Oracle Forms Using Populate_List And Create_Group_From_Query Command
- 08-14Using Post_Query Trigger in Oracle Forms