Modernize your PowerBuilder Applications

Gradient Header

The "Gradient Header" has been designed to complement the Shortcutbar. t's the same type of control you see in Outlook 2003 letting you know which option was selected in the Shortcutbar.

Gradient Header

Implementation


//Open Event of window that contains the control 
//Or the post constructor event of the userobject that contains the control
//Custom Color
uo_2.of_SetTextColor(RGB(255,255,255),uo_2.LEFT) uo_2.of_SetTextColor(RGB(255,255,255),uo_2.RIGHT) //Set Text and Image uo_2.of_SetText(as_text, uo_2.LEFT) uo_2.of_SetImage(as_image, uo_2.RIGHT)

View Gradient Header Documentation

Back to Controls