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

Powerbuilder Documentation 12.5 – Page 6 – PowerBuilder Library

Powerbuilder Documentation 12.5

Powerbuilder Documentation 12.5

Append – PB Docs 125

PBDOM_CDATA: Append method Description Appends the input string or the input text data of the PBDOM_CHARACTERDATA object to the text content that already exists within the current PBDOM_CDATA object. Syntax

Argument Description pbdom_cdata_name The name of a PBDOM_CDATA strAppend The string you want appended to the existing text of the current PBDOM_CDATA object pbdom_characterdata_ref…

PBNI enumerated types – PB Docs 125

PBNI enumerated types Enumerated types for PowerBuilder groups The pbgroup_type enumerated types are used in IPB_Session FindGroup calls to identify the type of group required. Table 6-3: Enumerated types for PowerBuilder groups Value PowerBuilder object pbgroup_application Application pbgroup_datawindow DataWindow definition pbgroup_function Global function pbgroup_menu Menu pbgroup_proxy Proxy definition for a remote object pbgroup_structure PowerBuilder structure…

Header file contents – PB Docs 125

Header file contents PBNI classes and interfaces are defined in a set of header files. pbni.h The classes, structures, and methods defined in the header file pbni.h allow PowerBuilder extension modules to interact with PowerBuilder. This file also includes the pbarray.h, pbfield.h, and pbnimd.h header files. pbarray.h, pbfield.h, pbtraits.h, and pbnimd.h pbarray.h contains helper classes…

SetAt – PB Docs 125

PBArrayAccessor template class: SetAt method Description Sets the array item at the specified dimension. Syntax For arrays of a specified ValueType:

For string arrays:

Argument Description dim The dimension of the array item to be set v A ValueType defined in pbtraits.h string A string of type pbstring or LPCTSTR Return Values None….

RunApplication – PB Docs 125

IPB_VM interface: RunApplication method Description Runs the specified application. Syntax

Argument Description applicationName The name of the application object to be run, in lowercase libraryList The library list of the application numLibs The number of libraries in the library list commandLine Parameters to be passed to the application object session A pointer to IPB_Session*,…

Creating and using a visual extension – PB Docs 125

Creating and using a visual extension In general, you follow the same steps to create and use a visual extension that you do to create a nonvisual extension: Step 1: Decide on a feature to implement. Step 2: Define the classes and functions in the extension. Step 3: Declare visual classes and global functions. Step…

Handling enumerated types – PB Docs 125

Handling enumerated types The GetEnumItemValue and GetEnumItemName functions allow you to convert the name of an enumerated value to an integer value, and to convert an integer value to the name of an enumerated value. This example gets the numeric value for the boolean! enumerated value, then uses it to return the string value:

Generating a PBNI project – PB Docs 125

Generating a PBNI project The PBNI Application Wizard lets you choose whether to create a visual or nonvisual extension, whether to include support for Unicode and global functions, and whether to generate a header file. To create a new PBNI project: Start Visual Studio, select File>New>Project, select Visual C++ Projects, and scroll the Templates pane…

Example: Calling PowerBuilder functions – PB Docs 125

Example: Calling PowerBuilder functions In this code fragment, the class and method ID returned by calls to the IPB_Session GetClass and GetMethodID methods are used to initialize a PBCallInfo structure, called ci, using the IPB_Session InitCallInfo method. After a new pbstring variable is created, the value of that string is set to the value of…

SetArrayItemValue – PB Docs 125

IPB_Session interface: SetArrayItemValue method Description Sets the value of an array item to the value of an IPB_Value. Syntax

Argument Description array A valid pbarray structure in which you want to set an array item to null. dim A pblong array to hold the indexes of each dimension of the array. The size of…