By Hoyt Nelson
April 1, 2009 12:00 AM EDT
PowerBuilder provides an object browser - the utility accessed via the "Cubes
with a pair of eyeglasses" icon on the PowerBar menu. If you haven't tried
the PB browser, you should. Among other things, it eliminates the problem of
identifying which PBL contains the object of inter... (more)
|
By Hoyt Nelson
January 18, 2007 01:45 PM EST
Like Java and C# programmers, PowerBuilder developers can create properties
via the undocumented keyword indirect. Properties look like ordinary
variables, only their value isn't accessed directly. When you declare a
variable using indirect, you have to specify a function that's ... (more)
|
By Hoyt Nelson
January 11, 2007 07:45 PM EST
A typical PowerBuilder application has a few zillion MessageBox() calls. This
article explains how you can roll your own MessageBox() function, replacing
the native PowerBuilder MB() function with your code.
Why would you want to write your own MB() function? The general reason is... (more)
|
By Hoyt Nelson
October 3, 2003 02:00 PM EDT
It's an aesthetic thing. When you click on a grid DataWindow label and change
an attribute, it acquires what are formally termed UGBs - Ugly Grid Borders.
They appear between the labels in the grid header. The vertical lines are
thin or thick. Inconsistency! Thick borders! Yuck! ... (more)
|
By Hoyt Nelson
December 1, 2002 12:00 AM EST
Roland Smith's PBSearch utility is the tool to turn to when you need to find
a string in your PowerBuilder application. For example, if you have an error
message from a bug report, it takes PBSearch only a few seconds to find all
the instances of that message. Similarly, if you w... (more)
|
By Hoyt Nelson
October 1, 2002 12:00 AM EDT
It's an aesthetic thing. When you click on a grid DataWindow label and change
an attribute, it acquires what are formally termed UGBs - Ugly Grid Borders.
They appear between the labels in the grid header. The vertical lines are
thin or thick. Inconsistency! Thick borders! Yuck! ... (more)
|
By Hoyt Nelson
December 1, 2001 12:00 AM EST
Roland Smith's PBSearch utility is the tool to turn to when you need to find
a string in your PowerBuilder application. For example, if you have an error
message from a bug report, it takes PBSearch only a few seconds to find all
the instances of that message. Similarly, if you w... (more)
|
By Hoyt Nelson
April 1, 2001 12:00 AM EST
In my previous article (PBDJ, Vol. 8, issue 2), I demonstrated the Object
Name feature of the debug popup menu. The popup menu is a developer's tool
invoked by holding down a magic key as you right-click a window or control.
The initial and most useful debug menu item is Object N... (more)
|
By Hoyt Nelson
March 1, 2001 12:00 AM EST
How does your organization manage its PowerBuilder source? Your application
has several PBLs containing several hundred objects. Do you use the native
PowerBuilder check-in/checkout? Do you employ a "real" revision control
system, such as Microsoft's Visual SourceSafe?
These tra... (more)
|
By Hoyt Nelson
February 1, 2001 12:00 AM EST
Over the years we've adopted techniques that help us develop our PowerBuilder
applications faster and with fewer bugs. This article describes my favorite
bag of tricks, the pop-up debug menu (see Figure 1).
The debug menu is for developers only and is unavailable when running an ... (more)
|
By Hoyt Nelson
January 1, 2001 12:00 AM EST
What's the word for a set of objects: DataWindows, DataStores, or
DataWindowChilds? If there is a word, I don't know it. Objects don't have any
relationship in the PowerBuilder object hierarchy, so that doesn't help.Let's
call them DataObjects...oops, that's taken! Lacking any ot... (more)
|
By Hoyt Nelson
May 1, 2000 12:00 AM EDT
Overloading allows two or more functions to have the same name and return
type, if their signature is different. The function signature is defined by
its number and types of arguments. When you call an overloaded function,
PowerBuilder decides which version of the function to cal... (more)
|
By Hoyt Nelson
April 1, 2000 12:00 AM EST
In my previous article (PBDJ, Vol. 8, issue 2), I demonstrated the Object
Name feature of the debug popup menu. The popup menu is a developer's tool
invoked by holding down a magic key as you right-click a window or control.
The initial and most useful debug menu item is Object N... (more)
|
By Hoyt Nelson
April 1, 2000 12:00 AM EST
PowerBuilder provides an object browser - the utility accessed via the "Cubes
with a pair of eyeglasses" icon on the PowerBar menu. If you haven't tried
the PB browser, you should. Among other things, it eliminates the problem of
identifying which PBL contains the object of inter... (more)
|
By Hoyt Nelson
March 1, 2000 12:00 AM EST
How does your organization manage its PowerBuilder source? Your application
has several PBLs containing several hundred objects. Do you use the native
PowerBuilder check-in/checkout? Do you employ a "real" revision control
system, such as Microsoft's Visual SourceSafe?
These tra... (more)
|
By Hoyt Nelson
February 1, 2000 12:00 AM EST
Over the years we've adopted techniques that help us develop our PowerBuilder
applications faster and with fewer bugs. This article describes my favorite
bag of tricks, the pop-up debug menu (see Figure 1).
The debug menu is for developers only and is unavailable when running an ... (more)
|
By Hoyt Nelson
January 1, 2000 12:00 AM EST
What's the word for a set of objects: DataWindows, DataStores, or
DataWindowChilds? If there is a word, I don't know it. Objects don't have any
relationship in the PowerBuilder object hierarchy, so that doesn't help.Let's
call them DataObjects...oops, that's taken! Lacking any ot... (more)
|
By Hoyt Nelson
May 1, 1999 12:00 AM EDT
Overloading allows two or more functions to have the same name and return
type, if their signature is different. The function signature is defined by
its number and types of arguments. When you call an overloaded function,
PowerBuilder decides which version of the function to cal... (more)
|