The following article is an excerpt from Rik's upcoming book, ‘Mobile
Application Development using PowerBuilder and Appeon'
I am here to tell you it's true. You can write iPad applications in
PowerBuilder. I'm sure that you are waiting for the other shoe to drop but
ladies and gentlemen, there is no other shoe. It is simply the truth. You can
write iPad applications in PowerBuilder.
Those of you who have iPads, have you ever seen an MDI application running on
an iPad? No? Neither had I. That is until I took a PowerBuilder application
and, using Appeon, deployed to my iPad and ran the app.
I guess the only real catch is that the product is in Beta test and won't be
available to the general public until spring 2013. Still, it's going to be
well worth the wait.
I have a first round beta version of the product and have to admit, this is a
solid product. So far I've see... (more)
Normally I try to write applications on the DataWindow or Appeon but every
now and then I get a question that makes me sit back and say, "Huh?"
In this case the question concerns the PostOpen event. I've seen that event
named different things: ue_post_open, postOpen, post_open, ue_postOpen, etc.
It has, as far as I can see, always had post and open in the name of the
event. Further, just about every framework that I've ever seen has had that
event in the base window.
The question that I was asked was, "Why is that event there?"
The programmer wanted to know why there was code in t... (more)
This article describes how to create a grid presentation window that allows
sorting by clicking on the column header.
To begin we need to create a grid DataWindow. I'm selecting just a few
columns from the employee table. Here is my sql for the DataWindow in Figure
Once we have created it I get the DataWindow painter shown in Figure 2.
There are several changes that we need to make. Let's change the status
column so it's no longer a set of radio buttons. This is a read-only screen
so let's remove the status and add a computed field.
To do this let's remove the Status column ... (more)
This article provides a means of automating the sorting of DataWindows... not
just grid DataWindows as discussed in last month's article, but all
DataWindows, regardless of display format.
Bear in mind that we are writing programmer tools. When writing for
programmers we want to give the programmer the maximum number of options
while minimizing the programmer effort. In other words, default as much as
possible but allow the programmer to move beyond the defaults.
We have several action items to implement:
Do the housekeeping to get an application going Create a window for sorting.... (more)
Normally I write columns about the DataWindow or Appeon. This month though I
ran into an interesting little logic problem and when I solved it I realized
it was really a nice piece of code so, even though it is not in my normal
genre I thought I'd share it.
I was tasked with allowing the user to pick a combination of days of the week
with these specifications.
The user may select no more than three days prior to today. The user may
select no more than three days in the future. The user may not have both
prior and future dates in the same group If there are not three days in the ... (more)