i am creating a smartform in which the current page & total no of pages has to be printed
on the each page . so i created a total elemet under my main window.
page 1
window ( mainwindow )
TEXT ELEMENT .FOR PAGE.