Re: URGENT PLEASE HELP, SLIDER CONTROL

From: Valery A. Sorokin <vsorokin_at_dd.ru>
Date: Thu, 01 Oct 1998 19:51:02 +0300
Message-ID: <3613B2F6.5EFE220C_at_dd.ru>


If you use Forms 5.0 instead Forms 4.5 try to do next steps:

  1. Add new OCX item (in the Layout editor click the ActiveX Control tool and drag out the area where you want to display Slider)
  2. In the Layout editor click right mouse button for pop-up menu and select Insert Object, click Create Control, select control you want (Microsoft Slide Control for example), click Ok
  3. Set OLE Class property of item to COMCTL.Slider
  4. In pop-up menu select Slider_Object->Property and set any properties as you want
  5. Select menu Program->OLE Importer and select Event Package (ISliderEvents) and MethodPackage (ISlider), click Ok. PL/SQL packages to interface to the methods (COMCTL_ISlider) and events (COMCTL_Slider_1_EVENTS) of the control will be created
  6. Edit COMCTL_Slider_1_EVENTS.EVENT2 procedure (/* Change */) like this: :Block.Item := COMCTL_ISlider.Value(:item('Ctrl_Block.OCX_Item').interface); where Block.Item is your text box for show changed value of slider and Ctrl_Block.OCX_Item is your OCX item
  7. Enjoy.

I hope this will helps everybody who want use OCX with Forms 5.0

Good Luck.

Venkatesh Malepati wrote:
>
> Hai Everybody,
>
> Please help me, how to work with slider control in forms4.5. I have
> imported slider control into the forms with OcX control, now I need to
> show its value in a text box , when the user slides through the
> slider. Manuals from Oracle does n't giving me much information. Please
> if any body know how to work with OCX controls, email me at
> venkatesh_at_teamqsi.com
>
> Thanks in advance,
>
> regards,
> Venkatesh Malepati

-- 
Valery A. Sorokin
ProSoft, Russia, Moscow, Information Systems Division
Phone: +7 (095) 234 0636 (6 lines) FAX: +7 (095) 234 0640
E-mail: vsorokin_at_dd.ru OR vsorokin_at_prosoftmpc.msk.su
http://www.dd.ru
Received on Thu Oct 01 1998 - 18:51:02 CEST

Original text of this message