Home » Developer & Programmer » Forms » Alignment Button
icon5.gif  Alignment Button [message #611652] Sun, 06 April 2014 05:06 Go to next message
kuwait
Messages: 55
Registered: October 2007
Member
Hello,

I want to add a button that when clicked on should align a text field right to left

I tried to write a pl/sql as:

set_item_property('block.item_name',reading_order,right_to_left);

but it gives error replaced reading_order with direction doesn't work

How can i do it?

thanks
Re: Alignment Button [message #611686 is a reply to message #611652] Mon, 07 April 2014 03:03 Go to previous messageGo to next message
cookiemonster
Messages: 13923
Registered: September 2008
Location: Rainy Manchester
Senior Member
I don't believe you can.
Unless newer versions of form allow you to set that property. Older versions certainly don't.
Does the form builder help topic for set_item_property list that property as one that can be changed?
Re: Alignment Button [message #611928 is a reply to message #611686] Thu, 10 April 2014 04:28 Go to previous messageGo to next message
kuwait
Messages: 55
Registered: October 2007
Member
Thanks,

But, is there anyway to change alignment of a text field in forms?
Re: Alignment Button [message #611930 is a reply to message #611928] Thu, 10 April 2014 04:48 Go to previous messageGo to next message
cookiemonster
Messages: 13923
Registered: September 2008
Location: Rainy Manchester
Senior Member
If set_item_property won't do it, no.
Re: Alignment Button [message #625813 is a reply to message #611930] Tue, 14 October 2014 07:34 Go to previous messageGo to next message
shahzad-ul-hasan
Messages: 615
Registered: August 2002
Senior Member
SET_ITEM_PROPERTY('Block3.t',ALIGNMENT,ALIGNMENT_RIGHT);

use this hope this will solve your problem.
Re: Alignment Button [message #625822 is a reply to message #625813] Tue, 14 October 2014 08:01 Go to previous message
cookiemonster
Messages: 13923
Registered: September 2008
Location: Rainy Manchester
Senior Member
I know the OP says alignment in his original post but he's talking about reading_order (which he tried to use in set_item_property). The two properties do different things.
Previous Topic: for general ledger coding in form 6i
Next Topic: send sms in oracle via mobile modem
Goto Forum:
  


Current Time: Fri May 17 04:42:10 CDT 2024