Regenerating library entries – PB Docs 115
Regenerating library entries Occasionally you may need to update library entries by regenerating, rebuilding, or migrating them. For example: When you modify an ancestor object, you can regenerate descendants so they pick up the revisions to their ancestor. When you make extensive changes to a target, you can rebuild entire libraries so objects are regenerated…
GetNames – PB Docs 125
PBDOM_PROCESSINGINSTRUCTION: GetNames method Description Retrieves a list of names taken from the part of the PBDOM_PROCESSINGINSTRUCTION object’s data that is factored into name=”value” pairs. This method can be used in conjunction with the GetValue method. Syntax
|
1 |
<span>pbdom_pi_name</span>.GetNames(string <span>name_array[ ]</span><span></span>) |
Argument Description pbdom_pi_name The name of a PBDOM_PROCESSINGINSTRUCTION object name_array An unbounded string array filled with names Return…
Specifying application properties – PB Docs 126
Specifying application properties You specify application properties in the Application painter’s Properties view. To specify application properties: In the Application painter, if the Properties view is not open, select View>Properties from the menu bar. With the exception of the AppName property, the properties on the General and Toolbar tab pages can be modified in the…
DraggedObject – PB Docs 150
DraggedObject PowerScript function Description Returns a reference to the control that triggered a drag event. Obsolete function You no longer need to call the DraggedObject function in a drag event. Use the event’s source argument instead. Syntax
|
1 |
<span>DraggedObject</span> ( ) |
Return Values DragObject, a special datatype that includes all draggable controls (all the controls but no drawing…
Adding pbejbclient150.pbx to your application – PB Docs 150
Adding pbejbclient150.pbx to your application The simplest way to add the PBEJBClient classes to a PowerBuilder target is to import the object descriptions in the pbejbclient150.pbx PBX file into a library in the PowerBuilder System Tree The pbejbclient150.pbx and pbejbclient150.pbd files are installed in the Shared/PowerBuilder directory when you install PowerBuilder. When you create an…
Using a user event – PB Docs 115
Using a user event After you define a user event, you must write the script that PowerBuilder will execute when that user event is triggered. If it is an unmapped user event, you also write the code that will trigger the user event. User events display in alphabetical order in the Event List view and…
SetProxyServerOptions – PB Docs 125
SoapConnection: SetProxyServerOptions method Description Sets the proxy address, user name, and password for the proxy server. Syntax
|
1 |
<span>conn</span>.<span>SetProxyServerOptions</span> (string <span>optionstring</span>) |
Argument Description conn The name of the SoapConnection object that establishes the connection. optionstring A string containing comma-separated name/value pairs. The format is:
|
1 |
"address='<span>proxy_endpoint </span>'{, userID='<span>name</span> ', password='<span>password</span> '} " |
The address is required and can have a format such as:
|
1 |
http://<span>hostname</span>:<span>port</span>/<span>path</span> |
Specify…
Painter features – PB Docs 126
Painter features Painters that edit objects Most painters that edit PowerBuilder objects have these features: Feature Notes Painter window with views See “Views in painters that edit objects”. Unlimited undo/redo Undo and redo apply to all changes. Drag-and-drop operations Most drag-and-drop operations change context or copy objects. To-Do List support When you are working in…
ToolbarMoved – PB Docs 150
ToolbarMoved event Description Occurs in an MDI frame window when the user moves any FrameBar or SheetBar. Event ID Event ID Objects pbm_tbnmoved Window Parameters None Return Values Long. Return code choices (specify in a RETURN statement): 0 Continue processing Usage The event is not triggered for sheet windows. To get information about the toolbars’ positions,…
Creating an application server profile – PB Docs 150
Creating an application server profile An application server profile is a named set of parameters stored in your system registry that defines a connection to a particular EAServer or third-party application server host. Before you use a wizard to create a component, you should create a profile for the server where the component will be…