browsedialog OnInitialized event
Return to Introduction  Previous page  Next page
Applies to
dcBrowseDialog component.  

Declaration
type  
  TdcBrowseDialogInitialized = procedure(Sender: TObject; Wnd: hWnd; var posLeft, posTop: Integer) of object;  
 
property OnInitialized: TdcBrowseDialogInitialized;  

Description
The OnInitialized event occurs before appearing the dialog on screen and intended to  
·get access to the dialog handle (Wnd parameter), to add some custom controls to the dialog, for instance;  
·set the placement of the dialog box on screen (specifying posLeft and posTop parameters, left and top position of the dialog box on screen). Alternatively, to specify initial placement of the dialog box you can use Position property.  

See also
OnChanged and OnSelected events;  
Position property  
File not found.