Tech Articles


Spell checking in the new PowerBuilder 2017 Rich Text Edit Control


The original Rich Text Editing control shipped with PowerBuilder was based on an OEM of a popular third party control at the time called HighEdit. By the time 10.5 came out though, that control was quite dated and no longer supported by the vendor. As a result, in 2006 Sybase replaced that control with an OEM of another popular third party control called TX Text Control. There are licensing issues with that control though.  So with the release of PowerBuilder 2017 Appeon updated the control again, replacing the OEM of the TX Text Control with an OEM of the TE Edit Control. Note that if you encounter regressions with the new control you can switch back to the TX Text Control through a new RichTextEdit option in the Additional Properties dialog for the application object.  If you do however, you will have to obtain your own license of TX Text Control.

 

Read more

"Haunted" Apps - How to Avoid Ghost (Unresponsive) Windows


Are any of the windows in your PowerBuilder applications “haunted” by ghosts?

In the Windows operating system, the term “ghosting” is used to describe how the Desktop Window Manager visually intervenes on a user’s behalf whenever Windows believes the active, or "top-level" application window has become unresponsive. This article describes how Windows determines if a window should be ghosted and how the appearance of a window changes when it becomes ghosted. The article will also examine the common causes of an unresponsive PowerBuilder window and discuss some options for detecting, recovering from and even preventing windows with long-running processes from being ghosted.

Let’s start where most things begin… at the beginning – with an overview of the role of messages and message queues in an event-driven operating system.

Read more

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.

 

Read more

UI Modernization - Code Samples from CodeXchange


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

 

Read more

API Enablement - Code Samples from CodeXchange


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

 

Read more

Free Utilities - Code Samples from CodeXchange


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

 

Read more

Interfacing PB Applications with the Windows API - Part 4


This tutorial has discussed how to interface traditional, Windows-hosted PowerBuilder 32-bit and 64-bit applications with the Windows Application Programming Interface (API), also known as the WinAPI. In the first three parts, the groundwork was laid to make you more knowledgeable and comfortable coding External Function Declarations (EFD's) and understanding the nuances of how information is exchanged between PB and Windows API functions. Part four contains a list of coding tips and techniques and mapping tables to help you with the translation between many common WinAPI datatypes and the standard PB datatypes. It also describes a free PB sample application and non-visual user object that can dynamically determine the memory size and layout of a structure in either 32-bit or 64-bit environments.

* * * Part four content has been revised and expanded from the original version * * *

Read more

Find Articles by Tag

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