


Views
Replies
Total Likes
Hi,
Yes, I am having exactly the same problem. I have buttons for PRINT, SAVE AS, LOCK, and RESET. If the user clicks LOCK, then I want the RESET button to go away...and it does...but only on the first page.
I only have one Master Page. My code for making RESET disappear is: ResetButton1.presence = "invisible";
I also tried it with the "absolute SOM" which has the "pageset" code, but it still does not work.
Thanks to anyone who can answer this.
Joe
Views
Replies
Sign in to like this content
Total Likes
You can find the current page number in the code and then if it is not first page, then hide the controls..
if(xfa.layout.page(
this) >1){
//Write code to hide all your controls in the second page onwards.
}
Place the code in the Layout Ready event of any control in the Master Page.
Thanks
Srini
Views
Replies
Sign in to like this content
Total Likes
THANKS SRINI!!!
You're the best.
Joe
Views
Replies
Sign in to like this content
Total Likes