guides:programming:programmers_reference_manual:align_property_image

ALIGN property (Image)

Specifies the horizontal and vertical alignment of the image.

A numeric value that describes the position of the image within its parent object:

ValueDescription
0Top-Left
1Top Center
2Top-Right
3Center-Left
4Centered
5Center-Right
6Bottom-Left
7Bottom-Center
8Bottom-Right
DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

The ALIGN property is ignored if either of these conditions are met:

• If the ORIGIN property is set to a value other than (0,0)

• If the STYLE property is set to any value other than "Clip" (0).

Equated constants for the ALIGN property can be found in the PS_EQUATES insert record.

 
// Set the alignment of the background image for the PNL_MAIN control

   $Insert PS_Equates

   Call Set_Property_Only( @Window : "PNL_MAIN.IMAGE", "ALIGN", 

                           PS_IA_BOTTOMRIGHT$ )
  • guides/programming/programmers_reference_manual/align_property_image.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1