Home » Developer & Programmer » Forms » change direction problem
change direction problem [message #169487] Thu, 27 April 2006 03:18 Go to next message
emadbsb
Messages: 334
Registered: May 2005
Location: egypt
Senior Member

Hii all

i have a screen containing a menu and a screen
my menu contains icons in the toolbar

the property pallete of any field of the menu contains :

Quote:


visible in menu : yes

visible in horizontal menu toolbar : yes

visible in vertival menu toolbar : no

icon in menu : no

icon file name : lang_a





i made a button in my screen that change the direction of preview from right to left and another one to preview from left to right (change from arabic to english and english to arabic)

when i press the button of chage from english to arabic the preview will be all show from the right to left and that's right
except the shortcut icons in the menu (lang_a)
although my menu buttons direction are changed also

the code that i wrote to change from left to right

Quote:


SET_FORM_PROPERTY(p_module,DIRECTION,LEFT_TO_RIGHT);
SET_WINDOW_PROPERT('WINDOW',DIRECTION,LEFT_TO_RIGHT);



the code that i wrote to change from right to left

Quote:


SET_FORM_PROPERTY(p_module,DIRECTION,RIGHT_TO_LEFT);
SET_WINDOW_PROPERT('WINDOW',DIRECTION,RIGHT_TO_LEFT);



this works right for the menu altough i didnot mention 'menu' in my code but only the shortcut icons didnot chage the direction

how to change the icons direction also???


thanks for everyone helped and helping me

[Updated on: Thu, 27 April 2006 03:37]

Report message to a moderator

Re: change direction problem [message #169644 is a reply to message #169487] Thu, 27 April 2006 22:28 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
When you say "shortcut icons", do you mean that the shortcut should appear on the other side of the full text when you change direction?

David
Re: change direction problem [message #169780 is a reply to message #169487] Fri, 28 April 2006 12:29 Go to previous messageGo to next message
emadbsb
Messages: 334
Registered: May 2005
Location: egypt
Senior Member

i mean the icons of the menu
that are found down the menu in the menu toolbar
see the attached file of the engish mode
when i am in the english mode(the direction will be from the left to the right)

also there is another attachment in the next reply to reprsent how the screen looks in the arabic mode (the direction will be from right to left)
  • Attachment: english.JPG
    (Size: 58.52KB, Downloaded 201 times)
Re: change direction problem [message #169782 is a reply to message #169487] Fri, 28 April 2006 12:33 Go to previous messageGo to next message
emadbsb
Messages: 334
Registered: May 2005
Location: egypt
Senior Member

that is the next attachment of the arabic mode
u will see the direction will be from right to left except the icon in the menu toolbar although the menu transfered to the right

i hope u got what i mean
  • Attachment: arabic.JPG
    (Size: 62.50KB, Downloaded 203 times)
Re: change direction problem [message #169947 is a reply to message #169782] Sun, 30 April 2006 23:57 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Use Set_Item_Property(position) to 'move' the icons on the toolbar to the other size of the screen. I don't think that Forms can do this automatically.

David
Re: change direction problem [message #430080 is a reply to message #169947] Sun, 08 November 2009 01:08 Go to previous messageGo to next message
mmrz
Messages: 29
Registered: August 2007
Junior Member
'set_item_property' does n't have any 'Direction' parameter!
Is there any other solution?
Re: change direction problem [message #430084 is a reply to message #430080] Sun, 08 November 2009 02:19 Go to previous messageGo to next message
mmrz
Messages: 29
Registered: August 2007
Junior Member
I mean there is no 'position(x,y)' property for icon item! So how can I use 'set_item_property' for icon item to change my icon's direction from 'left_to_right' to 'right_to_left'!
Re: change direction problem [message #432388 is a reply to message #430084] Mon, 23 November 2009 22:55 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
My 'push button' has an 'X' and a 'Y' coordinate, so I am able to place it anywhere I wish.

What do you mean by 'direction' on a 'button'?

David
Previous Topic: to create dynamic LOV while report is being called from forms
Next Topic: dynamic item list 0 element
Goto Forum:
  


Current Time: Thu Dec 08 02:38:50 CST 2016

Total time taken to generate the page: 0.14582 seconds