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

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