Previous Document Next Document
AppWindow.Left

Property Left As Long

Member of AppWindow

The Left property sets the distance, in screen pixels, from the CorelDRAW main application window’s left border to the left side of the monitor’s display area.

This property only applies when the main application window is in a normal window state; that is, the window is not minimized or maximized.

The following code example sets the current window state to normal, defines the new dimensions of the window, and resizes the CorelDRAW main application window according to the new dimensions.

Sub AppWindowLeft() 
 With AppWindow 
  .WindowState = cdrWindowNormal 
  .Top = 10 
  .Left = 10 
  .Height = 500 
  .Width = 600 
 End With 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.