ListViewItem.SetText Method | |
Set the text label of a column.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD SetText(
cNewText,
symColumnName,
nImageIndex
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual SetText(
Usual cNewText = default,
Usual symColumnName = default,
Usual nImageIndex = default
)
Request Example
View SourceParameters
- cNewText (Optional)
- Type: Usual
The text to be added to the column. - symColumnName (Optional)
- Type: Usual
The symbolic name of the column whose text you want to set. - nImageIndex (Optional)
- Type: Usual
A numeric value that represents the index of the list view’s column image in the image list.
Return Value
Type:
UsualRemarks Tip |
---|
SubItemImages only work if the ListView control has the style LVS_EX_SUBITEMIMAGES. You can set this style with ListView:SetExLVStyle(LVS_EX_SUBITEMIMAGES).
|
Examples
See the ListView:AddItem() method for sample syntax.
See Also