MaximizedTop Property

Applies to:  SubClasser object, PowerForm control
See also:  MaximizedLeft Property, MaximizedHeight Property, Property Index

Determines the Y coordinate, in pixels, of the top-left corner of the subclassed window when maximized.

Read/Write at both design-time and run-time.

Type:

Long

Remarks:

Setting the MaximizedTop property to a non-zero value, will mean that the top-left corner of the form will not be aligned with the top-left corner of the screen, when the form is maximized.  This will not prevent the user from manually moving the form to another location.

To control where the window can be manually moved, handle the Moving event.

 

 

Home

Copyright and Disclaimer