Home » Developer & Programmer » Forms » Dynamic (automatic) trigger (Oracle Forms 6i)
Dynamic (automatic) trigger [message #569279] Wed, 24 October 2012 02:13 Go to next message
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
Re: Dynamic (automatic) trigger [message #569280 is a reply to message #569279] Wed, 24 October 2012 02:17 Go to previous message
marko.trajkoski
Messages: 8
Registered: October 2012
Location: Slovenia
Junior Member
Oh yes, I allmost forgot.

I also want to make the video to repeat all the time without me having to press PLAY button all the time when the video is over.

Thank you!

[Updated on: Wed, 24 October 2012 03:44]

Report message to a moderator

Previous Topic: i have master - details form
Next Topic: read_image_file (adjusting image)
Goto Forum:
  


Current Time: Wed Jul 03 10:17:40 CDT 2024