Re: [RFH] Page Numbers, Listeners, and populateStrux

Subject: Re: [RFH] Page Numbers, Listeners, and populateStrux
From: sam th (
Date: Fri Jul 14 2000 - 13:50:15 CDT

On Fri, 14 Jul 2000, Martin Sevior wrote:

> HI Sam,
> Given that stuff on the page can move and that many screen redraws
> may occur as a page scrolls horizontally and vertically I think that you'd
> want to redraw your page number when ever a screen update occurs. Given
> this I think you do want to introduce a new document listener that is
> included in the notifylistener() method to display the page number.

As a disclaimer, my understnding of Listeners in Abi is quite limited.

However, I think that normally, each section doesn't have it's own
listener, and a new listener is not required when you add a new section.
Also, the page numbers update and work properly if you open them from a
file, without the addition (I believe) of special listeners.

The code that I want basically just associates the hdr/ftr with the proper
section. But the way that it is done (at least in populateStrux() ) is
bound up with the way that listeners work.

This code was originally writter by Eric, so maybe he would like to tell
me how it works. :-)

                                sam th

This archive was generated by hypermail 2b25 : Fri Jul 14 2000 - 13:50:20 CDT