|
|
Re: text data contineously moved from right to left [message #295635 is a reply to message #295605] |
Tue, 22 January 2008 23:23   |
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 #297047 is a reply to message #296353] |
Wed, 30 January 2008 00:16  |
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
|
|
|