guides:oi10:presentation_server:initialposition_property_window

INITIALPOSITION property (Window)

Specifies the starting location of the window.

This is an integer property that can be one of the following values:

• 0 – As Designed – the form is displayed using the Left and Top property values

• 1 – Center on Desktop – the form is displayed centered on the Desktop

• 2 – Center on Parent – the form is displayed centered on it's parent.

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet OnlyNoNoNo

This property does not apply when used with an MDI Child window.

Equated constants for the INITIALPOSITION property value can be found in the PS_WINDOW_EQUATES insert record.

 
$Insert PS_Window_Equates

   

   // Get the window INITIALPOSITION setting  

   InitPos = Get_Property( @Window, "INITIALPOSITION" )
 
 
 

SIZE property, SYSTEMSIZE property, RECT property, LEFT property, TOP property, CENTER method.

  • guides/oi10/presentation_server/initialposition_property_window.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1