This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R9
Using commands from the Objects (Forms) theme

Using commands from the Objects (Forms) theme  


 

 

The following commands support 4D Write Pro form objects:

CommandComments
/
/
/
/
/
/
/
/
/
/
/Applied to current selection (if any)
/Applied to current selection (if any)
/Applied to current selection (if any)
/Applied to current selection (if any). Support of the wk justify constant for 4D Write Pro areas
/
Applied to current selection (if any)
/Applied to current selection (if any)
/Vertical alignment of paragraphs: only has an effect when paragraph height is greater than paragraph text height
/
Returns true

Any OBJECT commands not listed above are not applicable to 4D Write Pro areas.

Example  

You want to set the horizontal alignment of a 4D Write Pro area to the center:

 Case of
    :(Form event code=On Clicked)
       OBJECT SET HORIZONTAL ALIGNMENT(*;"myObject";Align center)
       hAlignLeft:=0 //store property for next display
       hAlignRight:=0
 End case



See also 

Using commands from the Styled Text theme

 
PROPERTIES 

Product: 4D
Theme: 4D Write Pro Language

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D Write Pro Reference ( 4D v20 R9)