

| Type | Description | |||
| Dialog as DialogEnum | A DialogEnum expression that indicates the dialog where the changes occurs. | |||
| Field as FieldDialogEnum | A FieldDialogEnum expression that indicates the field being changed. | |||
| String | A string expression that indicates the caption of the field in the dialog. | 
The following VB sample changes the descriptions of the fields in the 'Find' and 'Replace' dialogs for Romanian language:
With HTML1
    .Caption(exFindDialog, exCaption) = "Cauta"
    .Caption(exFindDialog, exFieldFindWhat) = "Gaseste"
    .Caption(exFindDialog, exFieldMatchCase) = "Senzitiv la context"
    .Caption(exFindDialog, exFieldWordOnly) = "Doar intreg cuvintul"
    .Caption(exFindDialog, exFieldCancel) = "Abandon"
    .Caption(exFindDialog, exFieldDirection) = "Directie"
    .Caption(exFindDialog, exFieldDown) = "Jos"
    .Caption(exFindDialog, exFieldUp) = "Sus"
    .Caption(exFindDialog, exFieldFindNext) = "Urmatorul"
    .Caption(exFindDialog, exFieldMarkAll) = "Marcheaza tot"
    .Caption(exFindDialog, exErrorFindNext) = "Nu gasesc textul "
    .Caption(exFindDialog, exErrorTitle) = "Eroare"
    
    .Caption(exReplaceDialog, exCaption) = "Inlocuieste"
    .Caption(exReplaceDialog, exFieldFindWhat) = "Gaseste"
    .Caption(exReplaceDialog, exFieldCancel) = "Inchide"
    .Caption(exReplaceDialog, exFieldReplaceWith) = "Inlocuieste cu"
    .Caption(exReplaceDialog, exFieldMatchCase) = "Senzitiv la context"
    .Caption(exReplaceDialog, exFieldWordOnly) = "Doar intreg cuvintul"
    .Caption(exReplaceDialog, exFieldReplaceIn) = "Inlocuieste in"
    .Caption(exReplaceDialog, exFieldSelection) = "Selectie"
    .Caption(exReplaceDialog, exFieldWholeFile) = "In tot fisierul"
    .Caption(exReplaceDialog, exFieldFindNext) = "Urmatorul"
    .Caption(exReplaceDialog, exFieldReplace) = "Inlocuieste"
    .Caption(exReplaceDialog, exFieldReplaceAll) = "Inlocuieste tot"
    .Caption(exReplaceDialog, exReplaceDone) = "Sa terminat cautarea textului "
    .Caption(exReplaceDialog, exErrorTitle) = "Eroare"
End With
  The following VB sample changes the captions in the control's context menu:
With HTML1
    .Caption(exContextMenu, exContextUndo) = "Revin"
    .Caption(exContextMenu, exContextRedo) = "Refac"
    .Caption(exContextMenu, exContextCut) = "Sterg si copiez"
    .Caption(exContextMenu, exContextCopy) = "Copiez"
    .Caption(exContextMenu, exContextPaste) = "Suprapun"
    .Caption(exContextMenu, exContextDelete) = "Sterg"
    .Caption(exContextMenu, exContextSelectAll) = "Selectez tot"
End With
  The following C++ sample changes the captions in the control's context menu:
m_html.SetCaption( 2 /*exContextMenu*/, 16384 /*exContextUndo*/, "Revin" ); m_html.SetCaption( 2 /*exContextMenu*/, 16385 /*exContextRedo*/, "Refac" ); m_html.SetCaption( 2 /*exContextMenu*/, 16387 /*exContextCut*/, "Sterg si copiez" ); m_html.SetCaption( 2 /*exContextMenu*/, 16388 /*exContextCopy*/, "Copiez" ); m_html.SetCaption( 2 /*exContextMenu*/, 16389 /*exContextPaste*/, "Suprapun" ); m_html.SetCaption( 2 /*exContextMenu*/, 16390 /*exContextDelete*/, "Sterg" ); m_html.SetCaption( 2 /*exContextMenu*/, 16392 /*exContextSelectAll*/, "Selectez tot" );
The following VB.NET sample changes the captions in the control's context menu:
With AxHTML1
    .set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextUndo, "Revin")
    .set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextRedo, "Refac")
    .set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextCut, "Sterg si copiez")
    .set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextCopy, "Copiez")
    .set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextPaste, "Suprapun")
    .set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextDelete, "Sterg")
    .set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextSelectAll, "Selectez tot")
End With
  The following C# sample changes the captions in the control's context menu:
axHTML1.set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextUndo, "Revin"); axHTML1.set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextRedo, "Refac"); axHTML1.set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextCut, "Sterg si copiez"); axHTML1.set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextCopy, "Copiez"); axHTML1.set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextPaste, "Suprapun"); axHTML1.set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextDelete, "Sterg"); axHTML1.set_Caption(EXHTMLLib.DialogEnum.exContextMenu, EXHTMLLib.FieldDialogEnum.exContextSelectAll, "Selectez tot");
The following VFP sample changes the captions in the control's context menu:
With thisform.HTML1.Object .Caption( 2, 16384 ) = "Revin" .Caption( 2, 16385 ) = "Refac" .Caption( 2, 16387 ) = "Sterg si copiez" .Caption( 2, 16388 ) = "Copiez" .Caption( 2, 16389 ) = "Suprapun" .Caption( 2, 16390 ) = "Sterg" .Caption( 2, 16392 ) = "Selectez tot" endwith