property Edit.Caption(Dialog as DialogEnum, Field as FieldDialogEnum) as String
Specifies the caption for a field on the dialog, or on the control's context menu.

TypeDescription
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. 
Use the Caption property of the control to internationalize the Find or Replace dialog of the control. 

The following VB sample changes the descriptions of the fields in the 'Find' and 'Replace' dialogs for Romanian language:

With Edit1
    .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 Edit1
    .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_edit.SetCaption( 2 /*exContextMenu*/, 16384 /*exContextUndo*/, "Revin" );
m_edit.SetCaption( 2 /*exContextMenu*/, 16385 /*exContextRedo*/, "Refac" );
m_edit.SetCaption( 2 /*exContextMenu*/, 16387 /*exContextCut*/, "Sterg si copiez" );
m_edit.SetCaption( 2 /*exContextMenu*/, 16388 /*exContextCopy*/, "Copiez" );
m_edit.SetCaption( 2 /*exContextMenu*/, 16389 /*exContextPaste*/, "Suprapun" );
m_edit.SetCaption( 2 /*exContextMenu*/, 16390 /*exContextDelete*/, "Sterg" );
m_edit.SetCaption( 2 /*exContextMenu*/, 16392 /*exContextSelectAll*/, "Selectez tot" );

The following VB.NET sample changes the captions in the control's context menu:

With AxEdit1
    .set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextUndo, "Revin")
    .set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextRedo, "Refac")
    .set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextCut, "Sterg si copiez")
    .set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextCopy, "Copiez")
    .set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextPaste, "Suprapun")
    .set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextDelete, "Sterg")
    .set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextSelectAll, "Selectez tot")
End With

The following C# sample changes the captions in the control's context menu:

axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextUndo, "Revin");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextRedo, "Refac");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextCut, "Sterg si copiez");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextCopy, "Copiez");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextPaste, "Suprapun");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextDelete, "Sterg");
axEdit1.set_Caption(EXEDITLib.DialogEnum.exContextMenu, EXEDITLib.FieldDialogEnum.exContextSelectAll, "Selectez tot");

The following VFP sample changes the captions in the control's context menu:

With thisform.Edit1.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