Custom Static Text

The static text control is used to display text on a window or userobject. It contains all the functionality of the regular PowerBuilder static text control but with a few extra's.
The following features make this custom static text control superior:

  • Gradient and Transparent backgrounds
  • Ellipsis for long text
  • Vertical alignment


Implementation

//Simply call the available functions to change the controls behaviour 
//There is no special code needed to setup the control 

st_1.of_VGradient(TRUE)
st_1.of_AlignCenter()
st_1.of_Ellipsis(TRUE)