"underline"

Underlines the current font (text) or returns TRUE if the current font (text) has been underlined.

Synopsis

setValue(string shape,"underline",bool uLine);

getValue(string shape,"underline",bool &uLine);

shape.textFormat(bool uLine);

Parameter

Parameter Description
shape Name of the object
uLine

TRUE = Underlined

FALSE = Normal

Description

Underlines the current font or returns TRUE if the current font has been underlined.

Example

The following example underlines the font.

main(bool enter)
{
  this.font("Arial,8,-1,5,50,0,0,0,0,0");
  bool untS;
  bool untT = TRUE;
  setValue(obj,
  "underline",untT);
  /* Underlines the font*/
  getValue(obj,"underline", untS);
  DebugN("Underlined",untS)
}

Assignment

TextEdit