{{tag>category:"None Specified" author:"Nick Daniels" author:"Oystein Reigem"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== Where can I get Number of Pages in a Window (None Specified) ====
=== At 12 MAR 1999 06:25:56PM Nick Daniels wrote: ===
In a procedure, where can I get the number of pages in the window being processed?
Total_Pages=GET_Property( @WINDOW, "???" )
Something for a window, like ORIG_STRUCT for a control...
----
=== At 15 MAR 1999 04:49AM Oystein Reigem wrote: ===
Nick,
Check property VPOSITION, which according to the docs "returns or sets the position of slide in a vertical scroll bar. The scroll bar can be in a window, or can be a discrete scroll bar control." You want position - greatest slide position.
Seems to work even if your multi-page window hasn't got a scroll bar.
- Oystein -
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=E4E3D3C838030959852567320080B7B0|View this thread on the Works forum...]]