DVL Software Limited
[ About | Services | Products | Search | Feedback | Support ]

PowerBuilder Tips

Hourglass doesn't go away on pfc_AddRow()

Back to the Tips


Just an interesting observation...

One of three pages on a tab behaved different to the others.  The hourglass would not go away when a new row was inserted into the datawindow. In an effort to figure out what the problem was, I started commenting out code.  That did nothing.  So I started removing controls.  I found that removing a pushbutton allowed the hourglass to go away.  Very strange indeed.  So I looked further into it.  Eventually I found it was a focus problem.

If the datawindow had the focus when pfc_AddRow was invoked, the hourglass would go away.  If it did not have the focus, then the hourglass remained after the row was inserted.

Most interesting.  And annoying.  The problem has been 'solved' by doing a SetFocus after the pfc_AddRow call.  It would be nice to have a proper solution.


Back to the Tips

[ About | Services | Products | Search | Feedback | Support ]

This page last updated: Wednesday, 23 February 2000
Copyright 1997, 1998, 1999, 2000 DVL Software Limited.  All rights reserved.