TextBox.SendToBack Method

Sends the TextBox to the back of the z-order.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

public Object SendToBack()

Return Value

Type: System.Object
In Excel 2010, this method returns a null reference (Nothing in Visual Basic); otherwise this method returns true.

This method sets the z-order of the TextBox to the first index in the OLEObjects collection; the numbering of the z-order is the opposite of the numbering of the index in the OLEObjects collection. The higher the index in the OLEObjects collection, the lower the z-order of the TextBox.

For a code example that demonstrates how to use this method, see Button.SendToBack. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent SendToBack method.

Community Additions

ADD
Show: