Dynamic (automatic) trigger [message #569279] |
Wed, 24 October 2012 02:13 |
|
marko.trajkoski
Messages: 8 Registered: October 2012 Location: Slovenia
|
Junior Member |
|
|
Hi everyone!
I'm still trying to import some video in my form.
So far I made one OLE container and add Oracle Video Control, then I made one button and wrote this trigger:
WHEN-BUTTON-PRESSED
declare
video_obj ole2.obj_type;
begin
video_obj := forms_ole.get_interface_pointer
(`MY_VIDEO');ole2.invoke(video_obj,`ImportFileAs');
end;
This works fine. All I want to do now and I don't know why (because I am quite new in Oracle development) is, to make one trigger that will choose automaticly wich video to play and if it is possible
to make when I start the form automaticaly to start that video, if not, it's enough just to choose video automaticaly when I press the button.
Thank you all!
Marko
|
|
|
|