Blank rows in Browse after resizing

Hugh Middity

New Member
Progress 9.1D (Windows)

In the ON WINDOW-RESIZED trigger, I change the height of a Browse, based on the change in the height of the window.
This works, but when maximising the form the browse shows 2 blank rows after the rows that were originally visible. Clicking on either row causes the data to appear; clicking on the scrollbar of the browse causes both to appear.

I tried adding "30 DOWN" to the WITH part of the DEFINE BROWSE statement, but this doesn't make any difference.

Any suggestions?
 

Hugh Middity

New Member
UPDATE: Just noticed that the browse (in its original size) was showing an extra 'half row', so increased its height to be exactly (approximately!) a whole number of rows.

Now, when the window is maximised it only shows one blank row. Progress of a kind, I suppose!

BTW, is there a formula to determine the optimum height of a browse?
eg (Number of Rows * X) + (Number of Column Heading Lines * Y)
 

Cringer

ProgressTalk.com Moderator
Staff member
Personally I'd suggest upgrading as a first port of call. 9.1E as a bare minimum but version 10 if you can. There's been lots of improvements since 9.1D.
 
Top