Home » Developer & Programmer » Forms » text data contineously moved from right to left
text data contineously moved from right to left [message #295605] Tue, 22 January 2008 22:00 Go to next message
salwa
Messages: 76
Registered: December 2007
Member

hi all
text data contineously moved from right to left in oracle forms.
text field not moved ,but data moved such as
'I am titu'
this text move right to left continusly.

titu
Re: text data contineously moved from right to left [message #295624 is a reply to message #295605] Tue, 22 January 2008 22:41 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Look at:
Scrolling text
http://www.orafaq.com/forum/t/82337/67467/

David
Re: text data contineously moved from right to left [message #295635 is a reply to message #295605] Tue, 22 January 2008 23:23 Go to previous messageGo to next message
musman
Messages: 147
Registered: July 2007
Location: Lahore
Senior Member

create text item on your form.write your required text in it.

in when_new_form_instance

DECLARE
v_timer TIMER;
BEGIN
v_timer := CREATE_TIMER('item_timer',40,REPEAT);
END;


in when_timer_expired
DECLARE
  v_item ITEM;
  v_x_pos NUMBER ;
  v_y_pos NUMBER ;
BEGIN
  v_item := FIND_ITEM('info_anim'); ---your text item name here
  v_x_pos := GET_ITEM_PROPERTY(v_item, X_POS);
  v_y_pos := GET_ITEM_PROPERTY(v_item, Y_POS);
 
IF
 GET_ITEM_PROPERTY(v_item,X_POS) = v_x_pos THEN
 SET_ITEM_PROPERTY(v_item,POSITION,v_x_pos + 1,v_y_pos);
IF GET_ITEM_PROPERTY(v_item,X_POS) = 350 THEN
   SET_ITEM_PROPERTY(v_item,X_POS,0,v_y_pos);
END IF;
END IF;
END;

[Updated on: Tue, 22 January 2008 23:25]

Report message to a moderator

Re: text data contineously moved from right to left [message #296353 is a reply to message #295624] Sat, 26 January 2008 01:30 Go to previous messageGo to next message
salwa
Messages: 76
Registered: December 2007
Member
thanks musman

i need moved text item's data not text item (from right to lept)
such as 'i am titu' this is text item's data
it moved right to lept contineously.
plse help
Re: text data contineously moved from right to left [message #296718 is a reply to message #296353] Mon, 28 January 2008 19:12 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
And what was wrong with the reference that I gave you?

David
Re: text data contineously moved from right to left [message #296773 is a reply to message #296353] Tue, 29 January 2008 00:45 Go to previous messageGo to next message
musman
Messages: 147
Registered: July 2007
Location: Lahore
Senior Member

did you tried that example ones???
definitely your text item data will move.
did you tried it.What it is doing for you??

[Updated on: Tue, 29 January 2008 00:46]

Report message to a moderator

Re: text data contineously moved from right to left [message #296785 is a reply to message #295605] Tue, 29 January 2008 01:20 Go to previous messageGo to next message
gozuhair
Messages: 206
Registered: January 2008
Senior Member
Dear David

I was go through your reference topic but how can i create the below information


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

Regards




Re: text data contineously moved from right to left [message #297022 is a reply to message #296785] Tue, 29 January 2008 23:13 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You crate a stacked canvas by creating a canvas and setting its property to 'stacked'. You write text on a 'canvas' by placing an item on it and writing to that item.

David
Re: text data contineously moved from right to left [message #297047 is a reply to message #296353] Wed, 30 January 2008 00:16 Go to previous message
salwa
Messages: 76
Registered: December 2007
Member
thanks musman

i need moved text item's data
not text item field ,it will be still
such as 'i am titu' this is text item's data
it moved right to left contineously.
such as
|i am titu|
|am titu|
|titu|
|itu|
|tu|
|u|
|t|
| |
|i am titu|
|am titu|
|titu|
'
'
'
continusly
thanks
plse help
Previous Topic: Menu attached to a form appears on MDI Window in 10g !!
Next Topic: Compiling Forms 5 against 10.2.0.3
Goto Forum:
  


Current Time: Mon Mar 10 19:43:07 CDT 2025