Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetTheme – PB Docs 2021 – PowerBuilder Library

GetTheme – PB Docs 2021

GetTheme

PowerScript function

Description

Gets the theme that is currently applied to the application
UI.

Syntax

Argument

Description

fullpath (optional)

A boolean whose value indicates whether to get the path of
the theme file.

Return value

A string whose value is the theme name (or theme path and name) that
is currently applied to the application. If any argument’s value is null,
the method returns null.

An empty string will be returned if one of the following
happens:

  • if no theme is applied (“Do Not Use Themes” is selected in the
    Themes tab of the Application Properties dialog), or

  • if a theme is applied and the Windows classic style option is
    selected in the project painter when building the application,
    or

  • if a theme is applied and the application’s executable file
    cannot find the “theme” folder at runtime.

Examples

This example gets the theme name that is currently applied to the
application:

See also

ApplyTheme

Specifying a theme
for the application UI
in Users Guide


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x