Powerbuilder Documentation 2021

Powerbuilder Documentation 2021

Properties for InkPicture controls in DataWindow objects – PB Docs 2021

Properties for InkPicture controls in DataWindow objects An x in the M (Modify) column means you can change the property. When (exp) is included in the description, you can specify a DataWindow expression as the value for that property. Property for an InkPicture M Description BackImage   The column containing the background image for the…

Adding text to a DataWindow object – PB Docs 2021

Adding text to a DataWindow object When PowerBuilder generates a basic DataWindow object from a presentation style and data source, it places columns and their headings in the DataWindow painter. You can add text anywhere you want to make the DataWindow object easier to understand. To add text to a DataWindow object Select Insert>Control>Text from…

IPB_Arguments interface – PB Docs 2021

IPB_Arguments interface The IPB_Arguments interface has two methods: GetCount obtains the number of arguments in a method call. GetAt obtains the value at a specific index of the pArgs member of the PBCallInfo structure. For each argument, GetAt returns a pointer to the IPB_Value interface. The following code fragment uses GetCount and GetAt in a…

Defining a validation rule in the DataWindow painter – PB Docs 2021

Defining a validation rule in the DataWindow painter Contents Specifying the expression Examples Validation rules you assign to a column in the Database painter are used by default when you place the column in a DataWindow object. You can override the validation rule in the DataWindow painter by defining an ad hoc rule for one…

ShadeColor – PB Docs 2021

ShadeColor property (DataWindow object) Description The color used for shading the back edge of the series markers when the graph’s type is 3D. ShadeColor has no effect unless Series.ShadeBackEdge is 1 (Yes). If ShadeBackEdge is 0, the axis plane is the same color as the background color of the graph. Applies to Graph controls Syntax…

Setting transparency properties for a DataWindow object – PB Docs 2021

Setting transparency properties for a DataWindow object You can change the transparency settings for colors and pictures. To set the transparency of a gradient in a DataWindow object Position the mouse on an empty spot in the DataWindow object, display the pop-up menu, and select Properties. On the Background page in the Properties view for…

Modify the connection information – PB Docs 2021

Modify the connection information Contents Modify the of_GetConnectionInfo function Call the connection service manager Where you are Look at the Demo Database Run the Connection Object wizard Declare a global variable > Modify the connection information Complete the login and logout scripts Run the application You can now call the connection service manager to establish…

The Edit edit style – PB Docs 2021

The Edit edit style By default, columns use the Edit edit style, which displays data in an edit control. You can customize the appearance and behavior of the edit control by modifying a column’s Edit edit style. To do so, select Edit in the Style Type drop-down listand specify the properties for that style: To…

OLE.Client.property – PB Docs 2021

OLE.Client.property property (DataWindow object) Description Settings that some OLE server applications use to identify the client’s information. The property values can be used to construct the title of the server window. Applies to DataWindows Syntax PowerBuilder dot notation:

Describe and Modify argument:

Parameter Description property An OLE client property, as shown in the…

About crosstabs – PB Docs 2021

About crosstabs Contents Two types of crosstabs Cross tabulation is a useful technique for analyzing data. By presenting data in a spreadsheet-like grid, a crosstab lets users view summary data instead of a long series of rows and columns. For example, in a sales application you might want to summarize the quarterly unit sales of…