Powerbuilder Documentation 2019

Powerbuilder Documentation 2019

GetTextStyle – PB Docs 2019

GetTextStyle PowerScript function Description Finds out whether selected text has text styles (such as bold or italic) assigned to it. Applies to RichTextEdit controls Syntax

Argument Description rtename The name of the RichTextEdit control in which you want to find the formatting of selected text. textstyle A value of the enumerated datatype TextStyle specifying…

GetTokenType – PB Docs 2019

GetTokenType PowerScript function Description Gets the access token type returned by the authorization server. Applies to TokenResponse objects Syntax

Argument Description objectname A reference to the TokenResponse object in which you want to get the access token type. Return value String. Returns the access token type if it succeeds and empty string (“”) if…

GetRecentItem – PB Docs 2019

GetRecentItem PowerScript function Description Gets the recent menu item of the application menu. Applies to RibbonApplicationMenu controls Syntax

Argument Description controlname The name of the RibbonApplicationMenu control from which you want to get the recent menu item. Index The index of the recent menu item which you want to obtain. If index is invalid,…

GetNativePointer – PB Docs 2019

GetNativePointer PowerScript function Description Gets a pointer to the OLE object associated with the OLE control. The pointer lets you call OLE functions in an external DLL for the object. Applies to OLE controls and OLE custom controls Syntax

Argument Description olename The name of the OLE control containing the object for which you…

GetResponseHeader – PB Docs 2019

GetResponseHeader PowerScript function Description Gets the response header by name. Applies to HTTPClient and RestClient objects Syntax

Argument Description objectname The name of the HTTPClient or RestClient object in which you want to get the response headers headerName A string whose value is the header name Return value String. Returns the value related to…

GetAccessToken – PB Docs 2019

GetAccessToken PowerScript function Description Gets the access token returned by the authorization server. Applies to TokenResponse objects Syntax

Argument Description objectname A reference to the TokenResponse object in which you want to get the access token. Return value String. Returns the access token if it succeeds and empty string (“”) if an error occurs….

GetDataValue – PB Docs 2019

GetDataValue PowerScript function Description Obtains the value of a data point in a series in a graph. Applies to Graph controls in windows and user objects, and graphs in DataWindow controls Syntax

Argument Description controlname The name of the graph from which you want data, or the name of the DataWindow control containing the…

GetCategoryByIndex – PB Docs 2019

GetCategoryByIndex PowerScript function Description Gets the category according to its index in the RibbonBar control. Applies to RibbonBar controls Syntax

Argument Description controlname The name of the RibbonBar control. Index The index of the category which you want to obtain. Item A RibbonCategoryItem variable in which you want to store the category identified by…

GetCategory – PB Docs 2019

GetCategory PowerScript function Description Gets the category according to its handle in the RibbonBar control. Applies to RibbonBar controls Syntax

Argument Description controlname The name of the RibbonBar control. ItemHandle The handle of the category you want to obtain. Item A RibbonCategoryItem variable in which you want to store the category identified by the…

GetExpiresIn – PB Docs 2019

GetExpiresIn PowerScript function Description Gets the lifetime of the access token returned by the authorization server. Applies to TokenResponse objects Syntax

Argument Description objectname A reference to the TokenResponse object in which you want to get the lifetime of the access token. Return value Long. Values are: >0 — Expiration time of the access…