cancel
Showing results for 
Search instead for 
Did you mean: 

PaRENT ELEMENT

Former Member
0 Kudos

hI

In the Properities of UI element ,,,there is one property.

tEXT dIRECTION -


inherit, ltr , rtl

Please tell me what inherit, ltr,rtl will do...

Regards

sushma

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sushma,

I think I get your point of concern.

For example, the view has RootUIElementContainer ( containers do not have textDirection property )

and you insert UI Element say Label / InputField / .. directly under root conatiner (default value for textDirection = inherit)

I feel here it will be based on general way of writing for the language (usually left to right for most of the languages);

the language being the project language provided at the time of creation

Hope this clarifies your doubt.

Kind Regards,

Nitin

Edited by: Nitin Jain on Apr 10, 2009 2:47 PM

Former Member
0 Kudos

Hi Sushma,

property textDirection - Specifies the text direction and allows you to use input fields for texts in languages which require a specific text direction. The textDirection property can be filled with the following values and is represented by the enumeration type WDTextDirection.

inherit - The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.

ltr - The text runs from left to right.

rtl - The text runs from right to left.

The default value for this property is inherit.

Kind Regards,

Nitin

PS: In general, you can refer UI Element Guide at SAP NetWeaver Library

http://help.sap.com/saphelp_nw04s/helpdata/en/9f/656442a1c4de54e10000000a155106/frameset.htm

Edited by: Nitin Jain on Apr 10, 2009 11:29 AM

Former Member
0 Kudos

Hi ,

inherit

The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.

ltr

The text runs from left to right.

rtl

The text runs from right to left.

Example: Text is Done

ltr: Done

rtl: enoD

inherit: Done (considering parent text direction is set to default)

Regards,

Abhijeet

Former Member
0 Kudos

Hi

Here parent element means ...... what it defines

Former Member
0 Kudos

Hi

Parent element is immediate UI element in hierarchy.

Say you have

ele A

--> Child 1

--> Child 2 --> Child 2.1

here for Child 2.1 parent element is Child 2. So, in case of inherit Child 2.1 will get the property of Child 2.

Regards,

Abhijeet

Edited by: Abhijeet Parihar on Apr 10, 2009 8:16 AM