browsedialog Position property
Return to Introduction  Previous page  Next page
Applies to
dcBrowseDialog component.  

Declaration
type  
  TdcBrowseDialogPosition = (bpDefault, bpScreenCenter);  
 
property Position: TdcBrowseDialogPosition;  

Description
The Position property controls the placement of the folder-selection dialog when it appears on screen after calling the Execute method.  
 
ValueMeaning  
dpDefaultdialog box appears in default position;  
dpScreenCenterdialog box appears in center of screen (default).  

You can also control the initial placement of the dialog box specifying the top-left coordinates in OnInitialized event handler.  

See also
Execute method and OnInitialized event.  
File not found.