Tech Articles


DataWindow - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to DataWindows for your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

**The list has been ordered from newest to oldest.

DataWindow Code Samples from CodeXchange
Name Description

WebAPI JSON to DataWindow

(Download)(CodeXchange)

This sample shows how you can interacts with WebAPI addresses by calling the HttpClient and JsonParser objects.

JSON Enhancements sample code from Elevate 2020

(Download)(CodeXchange)

Demonstrates

DataWindow Row Level Import/Export
Enhanced JSONGenerator
Enhanced JSONParser
Enhanced JSONPackage

Fast Find Demo in DataWindow

(Download)(CodeXchange)

Fast Find service to a DataWindow with PB custom event pbm_enchange, using an SLE English regional settings need to be set.

Edit Limit with Table Compare

(Download)(CodeXchange)

A PB utility to ensure that the edit style limit value is in sync with the underlying database column.

A DataWindow Head Sort UserObject

(Download)(CodeXchange)

The PB UersObject that can let the user click the head then sort the column.
You can use that UO in place of the original PB DataWindow control.

DataWindow Tooltip Service

(Download)(CodeXchange)

A service for providing tooltips on DataWindows with a wrapper for Microsoft Common Control using external API control comctl32.dll and so on

DataWindow Events

(Download)(CodeXchange)

This is a very small example which shows different datawindow events firing.

DataWindow and Table Column List Comparison

(Download)(CodeXchange)

A PB utility to ensure that any new columns in database tables are being captured by the DataWindows that reference them.

Autosize Height of Header and/or Trailer

(Download)(CodeXchange)

Autosize Height of Header and/or Trailer The only band that has autosize height is the detail band. This is a way to simulate autosize height of the header and/or trailer by using nested reports. Retrieve d_main using demo db.

DataWindow ApplyStyle

(Download)(CodeXchange)

A PB utility to clone display style between two datawindows. Support save as another SRD.

DataWindow and Treeview Event with a Time Delay

(Download)(CodeXchange)

Purposes:
1. Treeview event Selectionchanged forwarded to UserEvent with time delay.
2. DataWindow event RowFocusChanged forwarded to UserEvent with time delay.
3. Using a timing object to control events forwarded to control user events.
4. This creates an asynchronous behavior with the option, that a user may scroll through a TreeView or DataWindow without executing the depending code on SelectionChanged/RowFocusChanged events everytime to show when the delay userevent is triggered.

Grid DataWindow XP and Traditional Mode Switch

(Downloads)(CodeXchange)

This is a case where grid DataWindow can be switched to XP format or traditional format.

Evaluate DataWindow Attribute

(Download)(CodeXchange)

A function used to get the attribute value as the DataWindow interprets it: Either the result of the expression or the value if there is not an expression.

 

Comments (0)
There are no comments posted here yet

Find Articles by Tag

Elevate Conference Sort IDE OAuth Export PowerServer Mobile Database Object Repository HTTPClient Source Code Script JSON License Database Painter .NET DataStore BLOB Deployment WebBrowser Service PostgreSQL ODBC driver SDK ActiveX Platform DLL DevOps SOAP ODBC PBDOM SnapObjects CI/CD Model Windows OS Interface Window PowerBuilder (Appeon) Web Service Proxy Database Validation PFC PDF PBNI Linux OS Data Resize SQL Server C# UI Themes Graph Icon JSONGenerator Windows 10 Icons CoderObject .NET Std Framework Menu Excel Migration WinAPI Import Application Class Stored Procedure Charts SqlExecutor SVN SQL Debugger 32-bit Error PowerServer Web Encryption PowerBuilder Compiler SnapDevelop Bug 64-bit InfoMaker Variable REST UI DataWindow JSON OrcaScript COM Encoding XML DragDrop MessageBox Configuration Android UI Modernization Database Table TFS Installation Branch & Merge PDFlib PowerBuilder Design Database Profile Testing Messagging DataWindow Event AI Filter Database Connection Azure Export JSON Jenkins Authorization Import JSON Debug Git Text OLE Web API Transaction NativePDF DataType Oracle Event Handling Event Handler RibbonBar Builder Authentication Expression TortoiseGit Debugging Source Control PBVM Database Table Schema Trial Automated Testing PostgreSQL Syntax PowerScript (PS) OAuth 2.0 Performance .NET Assembly GhostScript Outlook RichTextEdit Control Array CrypterObject SqlModelMapper TreeView RESTClient RibbonBar TLS/SSL API File iOS External Functions Database Table Data Visual Studio Open Source JSONParser Mobile