GetTabButtonByIndex – PB Docs 2019
GetTabButtonByIndex PowerScript function Description Gets the tab button according to the index in the RibbonBar control. Applies to RibbonBar controls Syntax
|
1 |
controlname.GetTabButtonByIndex ( Long Index, ref RibbonTabButtonItem Item ) |
Argument Description controlname The name of the RibbonBar control. Index The index of the tab button you want to obtain. Item A RibbonTabButtonItem variable in which you want to store the tab button…
Getting identity column values – PB Docs 2019
Getting identity column values You can use the standard select @@identity syntax to obtain the value of an identity column. You can also use an alternative syntax, such as select scope_identity(), by adding sections to a .NET configuration file for your application. Setting up a dbConfiguration section in a configuration file The following example shows…
Compare objects – PB Docs 2019
Compare objects You can compare an object in your local directory with the version of the object that was last synchronized with the source control server. If the object you want to compare has not been added to the source control server, or the local object is not changed since last sync, the Git Diff…
GetRefreshToken – PB Docs 2019
GetRefreshToken PowerScript function Description Gets the refresh token returned by the authorization server. Applies to TokenResponse objects Syntax
|
1 |
objectname.GetRefreshToken ( ) |
Argument Description objectname A reference to the TokenResponse object in which you want to get the refresh token. Return value String. Returns the refresh token if it exists. Examples The following example shows the use of…
GetKey – PB Docs 2019
GetKey PowerScript function Description Gets the key name. Applies to JSONPackage Syntax
|
1 |
objectname.GetKey ( Index ) |
Argument Description objectname The name of the JSONPackage object whose key you want to obtain. Index A long value specifying the index of the key. Return value String. Returns the key name if it succeeds and empty string (“”) if an error…
GetRecentItemCount – PB Docs 2019
GetRecentItemCount PowerScript function Description Determines the total number of the recent menu items in the application menu. Applies to RibbonApplicationMenu controls Syntax
|
1 |
controlname.GetRecentItemCount () |
Argument Description controlname The name of the RibbonApplicationMenu control Return value Long. Returns the total number of menu items in the recent menu. If the recent menu contains no items, returns 0….
GetArgElement – PB Docs 2019
GetArgElement PowerScript function Description Returns the value in the specified argument. Applies to Window ActiveX controls Syntax
|
1 |
activexcontrol.GetArgElement ( index ) |
Argument Description activexcontrol Identifier for the instance of the PowerBuilder window ActiveX control. When used in HTML, the ActiveX control is the NAME attribute of the OBJECT element. When used in other environments, references the control that…
FreeDBLibraries – PB Docs 2019
FreeDBLibraries property for PowerScript controls Applies to Application object Description Determines whether PowerBuilder libraries are held in memory after PowerBuilder disconnects from a database. Usage Prior to PowerBuilder 8, PowerBuilder automatically freed database interface libraries when it disconnected from the database. To enhance performance and resolve process initialization issues with certain database management systems, PowerBuilder…
GarbageCollect – PB Docs 2019
GarbageCollect PowerScript function Description Forces immediate garbage collection. Syntax
|
1 |
GarbageCollect ( ) |
Return value None Usage Forces garbage collection to occur immediately. PowerBuilder makes a pass to identify unused objects, including those with circular references, then deletes unused objects and classes. Examples This statement initiates garbage collection:
|
1 |
GarbageCollect() |
See also GarbageCollectGetTimeLimit GarbageCollectSetTimeLimit Document get from Powerbuilder help…
GetDataDDEOrigin – PB Docs 2019
GetDataDDEOrigin PowerScript function Description Determines the origin of data from a hot-linked DDE server application or a DDE client application, and if successful, stores the application’s DDE identifiers in the specified strings. PowerBuilder can use GetDataDDEOrigin when it is acting as a DDE client or as a DDE server application. Syntax
|
1 |
GetDataDDEOrigin ( applstring, topicstring, itemstring ) |
Argument Description applstring…