Re: Forms 4.5 and OCX

From: Luc Gyselinck <lgy_at_athylon.be>
Date: 1997/10/09
Message-ID: <01bcd48d$034ebba0$690c79c1_at_PC92-LGY.athylon.be>#1/1


[Quoted] This is a multi-part message in MIME format.

------=_NextPart_000_01BCD49D.C6D78BA0
Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

At design time, you can put a default OCX in the OLE container (show canvas, right click,choose control).
In the when-new-form-instance, the OLE object is accessible with the GET_INTERFACE_POINTER function.

Take a look at the pbrowser demo that comes with forms 4.5 (latest release).

Greg Kainz <gkainz_at_rmi.net> wrote in article <3435434D.42DE_at_rmi.net>...
> I'm trying to integrate a TreeList OCX control in Forms4.5.
> I get error "FRM-41344: OLE object not defined for {item name}
> in current record" at run time (on statement
> FORMS_OLE.GET_INTERFACE_POINTER ... ) Using Oracle White Paper
> "...Integration of OCX Controls..." I tried the sample tabstrip_ocx
> and get the same error. Support had a fix to issue synchronize
> before get_interface_pointer command; same results. I'm totally
> ignorant of OLE and OCX so I'm swinging in the dark. The sample
> shows creating the OLE container (from control), setting 4 properties
> and then getting the interface pointer, the collection and
> then issuing arguements. When is the actual object created or
> instantiated? Anyone have a working sample of a tree control (or
> other) OCX with Forms 4.5, or point me to a good source?
> Thanks.

------=_NextPart_000_01BCD49D.C6D78BA0
Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 = color=3D"#000000" face=3D"Arial">At design time, you can put a default = OCX in the OLE container (show canvas, right click,choose = control).<br>In the when-new-form-instance, the OLE object is accessible = with the GET_INTERFACE_POINTER function.<br><br>Take a look at the = pbrowser demo that comes with forms 4.5 (latest release).<br><br>Greg = Kainz &lt;<font color=3D"#0000FF"><u>gkainz_at_rmi.net</u><font =

color=3D"#000000">&gt; wrote in article &lt;<font =
color=3D"#0000FF"><u>3435434D.42DE_at_rmi.net</u><font =
color=3D"#000000">&gt;...<br>&gt; I'm trying to integrate a TreeList OCX =
control in Forms4.5.<br>&gt; I get error &quot;FRM-41344: OLE object not = defined for {item name}<br>&gt; in current record&quot; at run time (on = statement <br>&gt; FORMS_OLE.GET_INTERFACE_POINTER ... ) &nbsp;Using = Oracle White Paper<br>&gt; &quot;...Integration of OCX Controls...&quot; = I tried the sample tabstrip_ocx<br>&gt; and get the same error. = &nbsp;Support had a fix to issue synchronize<br>&gt; before = get_interface_pointer command; same results. &nbsp;I'm totally<br>&gt; = ignorant of OLE and OCX so I'm swinging in the dark. &nbsp;The = sample<br>&gt; shows creating the OLE container (from control), setting = 4 properties<br>&gt; and then getting the interface pointer, the = collection and <br>&gt; then issuing arguements. &nbsp;When is the = actual object created or<br>&gt; instantiated? &nbsp;Anyone have a = working sample of a tree control (or<br>&gt; other) OCX with Forms 4.5, = or point me to a good source?<br>&gt; Thanks.<br><br></p> </font></font></font></font></font></body></html> ------=_NextPart_000_01BCD49D.C6D78BA0-- Received on Thu Oct 09 1997 - 00:00:00 CEST

Original text of this message