ChangeText
MethodChangeText (Method)
Changes the text of a text object
Syntax:
Function ChangeText(hTextItem As Integer, sNewText As String, fBold As Boolean, fItalic As Boolean, fUnderline As Boolean, fStrikeOut As Boolean, lCharSet As Integer) As Integer
The ChangeText method syntax consists of the following:
Parameter |
Data Type |
Description |
hTextItem |
Integer |
The handle of the text object |
sNewText |
String |
The new text value of the text object |
fBold |
Boolean |
True when the new text is bold |
fItalic |
Boolean |
True when the new text is italic |
fUnderline |
Boolean |
True when the new text is underlined |
fStrikeOut |
Boolean |
True when the new text is strikethrough |
lCharSet |
Integer |
The character set number for the new text |
Return value:
Integer - The Avax handle of the new text