Powerbuilder Documentation 2021

Powerbuilder Documentation 2021

Data.XHTML (obsolete) – PB Docs 2021

Data.XHTML (obsolete) Description A string containing the row data content of the DataWindow object in XHTML format. Obsolete property Data.XHTML is obsolete and should not be used, because the Web DataWindow technology is obsolete. The Web Generation tab and JavaScript Generation tab are preserved for the backward compatibility only. Applies to DataWindows Syntax PowerBuilder dot…

Moving and resizing controls – PB Docs 2021

Moving and resizing controls Contents Moving and resizing controls using the mouse Moving and resizing controls using the keyboard Aligning controls using the grid Aligning controls with each other Equalizing the space between controls Equalizing the size of controls There are several ways to move and resize controls in the Layout view. Document get from…

GetChildElement – PB Docs 2021

GetChildElement Contents GetChildElement Syntax 1 GetChildElement Syntax 2 Description The GetChildElement method is overloaded: Syntax 1 returns the first child PBDOM_ELEMENT object that matches the name indicated by the method parameter. Syntax 2 returns the first child PBDOM_ELEMENT object that matches the name and namespace indicated by the method parameter. Syntax For this syntax See…

Saving the window – PB Docs 2021

Saving the window You can save the window you are working on at any time. To save a window Select File>Save from the menu bar. If you have previously saved the window, PowerBuilder saves the new version in the same library and returns you to the Window painter workspace. If you have not previously saved…

Controls in a DataWindow and their properties – PB Docs 2021

Controls in a DataWindow and their properties Contents Properties for the DataWindow object Properties for Button controls in DataWindow objects Properties for Column controls in DataWindow objects Properties for Computed Field controls in DataWindow objects Properties for Graph controls in DataWindow objects Properties for GroupBox controls in DataWindow objects Properties for the Group keyword Properties…

Declaring instance variables – PB Docs 2021

Declaring instance variables Often, data needs to be accessible in several scripts within a window. For example, assume a window displays information about one customer. You might want several CommandButtons to manipulate the data, and the script for each button needs to know the customer’s ID. There are several ways to accomplish this: Declare a…

PBX_DrawItemStruct structure – PB Docs 2021

PBX_DrawItemStruct structure Description The PBX_DrawItemStruct structure contains the properties of an external visual control that you want to draw using the PBX_DrawVisualObject function. Field Description x X coordinate of the visual control relative to its parent control (for example, the window that contains it). y Y coordinate of the visual control relative to its parent…

Deleting menu items – PB Docs 2021

Deleting menu items To delete a menu item Select the menu item you want to delete. Click the Delete button in the PainterBar or select Edit>Delete from the menu bar. Document get from Powerbuilder help Thank you for watching.

AddContent – PB Docs 2021

AddContent Description Allows you to add a new PBDOM_OBJECT into the current PBDOM_DOCUMENT object. Syntax

Argument Description pbdom_document_name The name of a PBDOM_DOCUMENT object pbdom_object_ref The PBDOM_OBJECT to add Return value PBDOM_OBJECT. The return value is the newly modified PBDOM_DOCUMENT object returned as a PBDOM_OBJECT. Throws EXCEPTION_USE_OF_UNNAMED_PBDOM_OBJECT — The input PBDOM_OBJECT is nameable, but…

Building a custom class user object – PB Docs 2021

Building a custom class user object On the PB Object tab page of the New dialog box, if you select Custom Class and click OK, the User Object painter for custom class user objects opens. To build the custom class user object Declare functions, structures, or variables you need for the user object. Create and…