Using a Web service data source – PB Docs 115
Using a Web service data source Presentation style requirement You can use a Web service as the data source for a DataWindow having any of the following DataWindow presentation styles: Composite Graph Label TreeView Crosstab Grid N-Up Freeform Group Tabular Support for a Web service data source is not available for RichText and OLE presentation…
GetDocType – PB Docs 125
PBDOM_DOCUMENT: GetDocType method Description Allows you to retrieve the DOCTYPE declaration of the current XML DOM document. Syntax
|
1 |
<span>pbdom_document_name</span>.GetDocType(<span></span>) |
Argument Description pbdom_document_name The name of a PBDOM_DOCUMENT object Return Values PBDOM_DOCTYPE. Throws EXCEPTION_MEMORY_ALLOCATION_FAILURE – Insufficient memory was encountered while executing this method. Usage The DOCTYPE declaration is housed in a PBDOM_OBJECT. Document get from Powerbuilder…
GetEventID – PB Docs 126
IPBX_VisualObject interface: GetEventID method Description Returns the identifier of an event when the window’s parent is notified that the event occurred. Syntax
|
1 |
GetEventID(HWND <span>hWnd</span>, uint <span>iMsg</span>, WPARAM <span>wParam</span>, LPARAM <span>lParam</span><span></span>) |
Argument Description hWnd The handle of the parent window. iMsg The message sent to the parent. wParam The word parameter of the message. For WM_COMMAND, the high-order word specifies: The notification code…
EndDownload – PB Docs 150
EndDownload event Description Occurs at the end of a download procedure Event ID Event ID Objects None MLSynchronization, MLSync Parameters Argument Description upsertrows Long identifying the inserted and updated rows. deleterows Long identifying the deleted rows. Return Values None Usage Use this event to add custom actions at the end of the download stage of…
Setting up the custom control – PB Docs 150
Setting up the custom control The PowerBuilder custom control container has properties that apply to any ActiveX control. The ActiveX control itself has its own properties. This section describes the purpose of each type of property and how to set them. PowerBuilder properties For OLE custom controls, PowerBuilder properties have two purposes: To specify appearance…
Using graphs in windows – PB Docs 115
Using graphs in windows In addition to using graphs in DataWindow objects, you can also place graphs directly in windows and visual user objects. You define properties for a graph control in the Window painter and use scripts to populate the graph with data and to modify properties for the graph at runtime. This section…
RemoveContent – PB Docs 125
PBDOM_ATTRIBUTE: RemoveContent method Description Removes the input PBDOM_OBJECT from the PBDOM_ATTRIBUTE. Syntax
|
1 |
<span>pbdom_attribute_name.</span>RemoveContent(pbdom_object<span> pbdom_object_ref</span>) |
Argument Description pbdom_attribute_name The name of the PBDOM_ATTRIBUTE pbdom_object_ref The PBDOM_OBJECT child to be removed from this PBDOM_ATTRIBUTE Return Values Boolean. Returns true if the content has been successfully removed and false otherwise. Throws EXCEPTION_INVALID_ARGUMENT – The input PBDOM_OBJECT is invalid. This…
Get<type> – PB Docs 126
IPB_Value interface: Get<type> method Description A set of datatype-specific methods that return a pointer to the data in IPB_Value. Syntax
|
1 |
GetArray ( ) |
|
1 |
GetBlob( ) |
|
1 |
GetBool ( ) |
|
1 |
GetByte ( ) |
|
1 |
GetChar ( ) |
|
1 |
GetDate ( ) |
|
1 |
GetDateTime( ) |
|
1 |
GetDecimal ( ) |
|
1 |
GetDouble ( ) |
|
1 |
GetInt ( ) |
|
1 |
GetLong( ) |
|
1 |
GetLongLong( ) |
|
1 |
GetObject ( ) |
|
1 |
GetReal( ) |
|
1 |
GetString ( ) |
|
1 |
GetTime( ) |
|
1 |
GetUint( ) |
|
1 |
GetUlong ( ) |
Return Values A predefined PBNI datatype that corresponds to the PowerBuilder datatype in the method name. Examples This statement gets the date in the first value in the PBCallInfo structure and splits it into…
EXECUTE – PB Docs 150
EXECUTE SQL statement Description Executes the previously declared procedure identified by ProcedureName. Syntax
|
1 |
EXECUTE <span>ProcedureName</span>; |
Parameter Description ProcedureName The name assigned in the DECLARE statement of the stored procedure you want to execute. The procedure must have been declared previously. ProcedureName is not necessarily the name of the procedure stored in the database. Usage The USING…
Referencing parts of a graph – PB Docs 150
Referencing parts of a graph You use dot notation to reference these display properties. For example, one of the properties of a graph’s title is whether the text is italicized or not. That information is stored in the boolean Italic property in the TitleDispAttr property of the graph. For example, to italicize title of graph…