Welcome!

PowerBuilder Tips, Tricks, and Techniques

Ido Millett

Subscribe to Ido Millett: eMailAlertsEmail Alerts
Get Ido Millett via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Ido Millett

One of the typical problems developers face when using the HTML DataWindow (HTML DW) is that there's no SetRowFocusIndicator() method to allow users to see which row is the current one. This can confuse the user and lead to errors. For example, without a current row indicator users may not know which row will be deleted when they press a Delete button. This article describes a simple and effective technique for addressing this problem. The Solution Figure 1 shows an HTML DW with a current row indicator pointing at the second row. The key to the proposed solution is that it avoids the need for a round-trip to the server. It simply uses the RowFocusChanged event to set the text in a Pointer computed column to "<<<" for the current row and to a blank (" ") for all other rows. Changes to the DataWindow Object As a first step, open your DataWindow object in the DataWindow... (more)

A Current Row Indicator for HTML DataWindows

One of the typical problems developers face when using the HTML DataWindow (HTML DW) is that there's no SetRowFocusIndicator() method to allow users to see which row is the current one. This can confuse the user and lead to errors. For example, without a current row indicator users may not know which row will be deleted when they press a Delete button. This article describes a simple and effective technique for addressing this problem. The Solution Figure 1 shows an HTML DW with a current row indicator pointing at the second row. The key to the proposed solution is that it avoids... (more)