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