ole container object [message #282683] |
Fri, 23 November 2007 00:17  |
jitender.sadh
Messages: 86 Registered: May 2007
|
Member |
|
|
hi
i want to know how to use ole container object in forms6i so that when i double click on that , it run a specific applicatin (for ex calculator,notepad etc)
regards
jitender
|
|
|
|
Re: ole container object [message #282986 is a reply to message #282925] |
Sun, 25 November 2007 21:29   |
jitender.sadh
Messages: 86 Registered: May 2007
|
Member |
|
|
hi,
u said to use 'HOST' command ,but i don't how to use that, my mean on which trigger i write that command. can u give a simple example to run calculator when double click on the ole object.i want the output as like in the file which i attched.the functionlity of that ole object is that there is no trigger on that object & when i double click on that it run a calculator.
regards
jitender.
[EDITED by LF: removed a large BMP image. Please, read the OraFAQ Forum Guide to learn what type of images are acceptable]
[Updated on: Sun, 25 November 2007 23:42] by Moderator Report message to a moderator
|
|
|
Re: ole container object [message #283026 is a reply to message #282986] |
Sun, 25 November 2007 23:54   |
|
Dear Jitender
Create a button and on the "WHEN-BUTTON-PRESSED" trigger write the following code. You can create a Display item and write the same code on the "WHEN-MOUSE-DOUBLECLICK" trigger.
|
|
|
Re: ole container object [message #283035 is a reply to message #282683] |
Mon, 26 November 2007 00:09   |
jitender.sadh
Messages: 86 Registered: May 2007
|
Member |
|
|
hi
i got it & its working "host('calc')" but i want to know is it is necessary to write trigger "when-mouse-doubleclick" for ole object to run a application by doubleclicking on it.i m asking it this to u because in the application whose snapshot i send to u before, there is no trigger on the ole object , & when i double click on it , it run the calculator application.
if u have any link , which provide some information about ole object,
then plz send to me , actually i want to know for which purpose we user ole object.
regards
jitender.
|
|
|
|