The following commands support 4D Write Pro form objects:
Any OBJECT commands not listed above are not applicable to 4D Write Pro areas.
You want to set the horizontal alignment of a 4D Write Pro area to the center:
Case of
:(Form event=On Clicked)
OBJECT SET HORIZONTAL ALIGNMENT(*;"myObject";Align center)
hAlignLeft:=0
hAlignRight:=0
End case