ChangeText

Top  Previous  Next

 

ChangeText (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

Is the handle of the text object

sNewText

String

Is the new text value of the text object

fBold

Boolean

A Boolean expression that if it is True then the new text is bold

fItalic

Boolean

A Boolean expression that if it is True then the new text is italic

fUnderline

Boolean

A Boolean expression that if it is True then the new text is underlined

fStrikeOut

Boolean

A Boolean expression that if it is True then the new text is strikethrough

lCharSet

Integer

Is the character set number of the new text

 

Return value:

Integer - Is the Avax handle of the new text

 

Example