Which "page" has the focus???

  • Thread starter Thread starter Hal
  • Start date Start date
H

Hal

Is there any way to check which page has the focus when using the "Page
Break"?


TIA Hal
 
I don't think there's any native method to really do this... but you could
do something like this (on a form with a single page break)..

function pge(ctl as control) as integer
if ctl.top < Me.ctlBreak.top Then
pge=1
else
pge=2
endif
end function

....and then just feed that function the active control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top