Consultor Eletrônico



Kbase P112505: Why does the NUM-LINES attribute of the EDITOR widget show a value of one when the EDITOR widget is
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/12/2006
Status: Unverified

GOAL:

Why does the NUM-LINES attribute of the EDITOR widget show a value of one when the EDITOR widget is empty?

FIX:

An empty EDITOR widget will return a value of one (1) for the NUM-LINES attribute because there is an implied line in the EDITOR. To determine if the EDITOR widget is empty check the EMPTY attribute for a value of TRUE or FALSE instead.