Tech Articles


Quick start for contributing to Open Source PFC


Given that not everyone is fluent in using Git and or Github (where the Open Source PFC is hosted now), I put together a quick introduction in how to get started.  The video below walks through the steps, which in summary are:

  • Create a GitHub account if you don't already have one.  https://github.com/join
  • Navigate to the Open Source PFC and "Fork" a copy of the code into your account.  The 2019 version of the PFC can be found at: https://github.com/OpenSourcePFCLibraries/2019
  • Chose Code -> Clone and copy the HTTPS URL for your fork.
  • Open the PowerBuilder 2019 IDE and with no workspace open select File -> Connect to Workspace.
    • Source Control System:  Choose Git
    • Repository URL: Paste in the URL you copied above
    • Workspace File: Give it any name you choose
    • User ID:  Your Github user id (normally your email address)
    • Password:  Your Github password
    • Checkout Directory:  Select or create a new empty subdirectory on your local machine for the code to be copied to
  • Wait until the source code is downloaded and refreshed (12 to 15 minutes)
Read more

A Simple Methodology for Complex Resizing Scenarios Using the PFC


The Resize service included in the PowerBuilder Foundation Class (PFC) framework is a powerful, yet easy-to-use tool in the developer’s toolbox. Due to several factors, however, many PB developers struggle to make the Resize service perform as they would like, particularly when the layout of window controls and/or the desired resizing behavior steps become non-trivial… and often the developer ends up getting frustrated. As a result, the desired functionality is frequently omitted or severely curtailed.

The issue is not that the Resize service is unable to perform the desired task(s) – I believe it can, in many (perhaps not all) cases. The real issue is learning how to effectively utilize the functionality that already exists. There admittedly is not a lot of instructional material available on how to use the PFC in general and the Resize service in particular, so I’ve created an easy-to-follow methodology you can use to make the Resize service do what you want instead of the Resize service making you to do what it wants.

As you’ll soon see, the steps I describe in this tutorial are simple, yet they can be quickly applied to complex resizing scenarios. I’m also going to give you some free code that implements a couple of handy resize-related features you may want to add to your projects.

Read more

Tips on Using Git with PowerBuilder


Many PowerBuilder developers want to try Git as it gains in popularity. However, as PowerBuilder IDE still relies on the binary PBL format instead of directly working with the plain text source code files, the implementation of native Git support comes with some special features that you may need to be aware of in order to use Git properly or to work around some of the limitations. This article tries to give some tips in this area.

Read more

Pushing large projects to Git server


Symptom

When you push your repository from PowerBuilder IDE to your Git server for the first time after you do the Add to Source Control, it may fail when the size of your source code is large and/or your network is slow. 

Read more

Using PowerBuilder 2019 R2 with Azure DevOps Server (TFS) 2019


For many PowerBuilder users who are using older versions of PowerBuilder with TFS and are wondering whether the latest PowerBuilder 2019 R2 would work with the latest Azure DevOps Server 2019, this article shows how you could achieve that.

Read more

Applying a New UI Theme to Your Application


This tutorial is an update to the 2019 tutorial. If you have zero experience with the UI Theme feature, please first follow our Quick Start tutorial. If you are ready to gain a comprehensive understanding of this feature and dive deeper into UI Theme settings, then please proceed with this updated tutorial.

Starting from PowerBuilder 2019, Appeon added the UI theme feature to PowerBuilder so that developers can codelessly control how commonly-used controls and objects render during application runtime.

Read more

UI Theme Quick Start Tutorial


This quick start tutorial walks you through the 3 simple steps to apply the UI Theme to your PowerBuilder application. For more advanced techniques, such as how to define a customized theme and how to define theme settings for selected objects/controls, you may refer to the advanced tutorial: https://community.appeon.com/index.php/articles-blogs/tutorials-articles/2-powerbuilder/301-applying-a-new-ui-theme-to-your-application-2.

Read more

Find Articles by Tag

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