GetTextLength Method


8.7C, PLBCMP GUI Only

 

The GetTextLength method retrieves the raw character count from an EDITTEXT, EDITNUMBER, or RICHEDITTEXT object. The method uses the following format:

 

 

[label]

{object}.GetTextLength

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. An EDITTEXT, EDITNUMBER or RICHEDITTEXT object that is accessed.

return

Optional. A Numeric Variable that indicates the character count.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. If the value returned is zero, the ZERO condition flag is set.

  2. The OVER and EOS Condition Flags are always cleared.

 

 

See Also: Method Syntax, EDITTEXT Methods, EDITNUMBER Methods, RICHEDITTEXT Methods

 



PL/B Language Reference GetPosFromCharIndex Method GetUnicode Method