Use Left From Right
Use Left From Right

Friendly Name Use Left From Right
API Name UseLeftFromRight
Type Long
Restrictions Must be 0, 1, 2, or valid splitter ID
Get Function   (dcl-Control-GetUseLeftFromRight <CONTROL>)
Set Function   (dcl-Control-SetUseLeftFromRight <CONTROL> NewValue [as Long])
Applies To All Controls

This property controls the relationship between the Left, Left From Right, and Width properties, as follows:

Value Meaning
0 Control is positioned relative to the left edge of the parent window. Left From Right property changes when Left is changed, or when parent window's width changes.
1 Control is positioned relative to the right edge of the parent window. Left property changes when Left From Right is changed, or when parent window's width changes.
2 Control is positioned relative to the center of the parent window. Left and Left From Right properties change when Width is changed, or when parent window's width changes.
10+ Control is positioned relative to a splitter. The value represents the splitter ID. Left From Right property changes when Left is changed, or when splitter position changes, or parent window's width changes.