Dialog object
The Dialog object associates a picture to a form. The object supports the following properties and methods: 

 NameDescription 
  AlignmentAligns the control's caption. 
  AttachAttaches the control to the container. 
  BackColorRetrieves or sets the control's background color. 
  BorderBottomRetrieves or sets the size in pixels of the border on the bottom side. 
  BorderLeftRetrieves or sets the size in pixels of the border on the left side. 
  BorderRightRetrieves or sets the size in pixels of the border on the right side. 
  BorderTopRetrieves or sets the size in pixels of the border on the up side. 
  CaptionRetrieves or sets the control's caption. 
  CaptionFormatSpecifies whether the control's caption displays data using HTML format. 
  DettachDetaches the control. 
  EnabledRetrieves or sets a value indicating whether the control is visible or hidden. 
  FontRetrieves or sets the control's font. 
  ForeColorRetrieves or sets the control's foreground color. 
  HAnchorRetrieves or sets a value that indicates how the control is horizontally anchored. 
  HAnchorOffsetRetrieves or sets a value that indicates the horizontally offset. 
  hWndRetrieves the control's window handle. 
  OnClickRetrieves or sets a value that indicates what the action that control takes when the user clicks on the control. 
  PictureRetrieves or sets the control's picture. 
  PictureHeightRetrieves the picture's height. 
  PictureWidthRetrieves the picture's width. 
  RefreshRefreshes the control. 
  TopMostPlaces the control above all non-topmost windows. 
  TransparencyRetrieves or sets a value that indicates whether the control allows transparency. 
  TransparentFromRetrieves or sets a value that indicates the starting transparent color. 
  TransparentToRetrieves or sets a value that indicates the ending transparent color. 
  VAnchorRetrieves or sets a value that indicates how the control is vertically anchored. 
  VAnchorOffsetRetrieves or sets a value that indicates the vertically offset.