Home » Developer & Programmer » Forms » How to implement Scroling Messages in Forms 6i
icon9.gif  How to implement Scroling Messages in Forms 6i [message #240189] Thu, 24 May 2007 06:02 Go to next message
Khaderbasha
Messages: 3
Registered: March 2007
Location: Bangalore
Junior Member
Dear Friends,

I have a requirement as stated below.

I have to fetch data from table and display on the forms as a scroling message ( like messages appearing on the webpage , moving from right to left ) in forms 6i application.

I dont have any idea about how to implement it iam not sure if it is possible or not

If you have any idea how to acheive this please suggest me

Regards,
Khader
Re: How to implement Scroling Messages in Forms 6i [message #240498 is a reply to message #240189] Fri, 25 May 2007 01:26 Go to previous message
kamran.it
Messages: 265
Registered: September 2005
Location: Karachi
Senior Member

--------------------------------
Write Code in When-New-form instance

if id_null(create_timer('SCROLL_TIMER', 200, REPEAT)) then
null;
end if;
------------------------------
When-Timer-expired
DECLARE
TimerName varchar2(40) := get_application_property(TIMER_NAME);
BEGIN

if TimerName = 'SCROLL_TIMER' then
scroll_view('CNv_SCROLL', 0, mod(get_view_property('CNv_SCROLL', VIEWPORT_Y_POS_ON_CANVAS)+1, 37));
end if;
END;

------------

Create a Stacked CNV_SCROLL on you canvas
and write any text in CNV_Scroll


I hope your problem will solve.
Previous Topic: sql server connect with oracle forms 6i
Next Topic: List Item
Goto Forum:
  


Current Time: Fri Apr 19 20:53:59 CDT 2024