Navigation: Ultimate Suite for PowerBuilder Help > PowerMenu/Pro (Ribbon) > Functions >

of_setstyle

Send comments on this topic.

 

Description:

Set the visual style of the ribbon.

Syntax:

of_setstyle (long al_style)

Argument

Description

al_style

The DEFAULT value is the traditional looking ribbon. Pass OFFICE365 to change the style to the new Office 365 style.

DEFAULT and OFFICE365 are constants defined in the button listbar control.

Return Value:

Always returns 1

Usage:

//Open event of window
THIS.of_SetStyle(OFFICE365)


Copyright © 2021 Werysoft Inc.