Wednesday, October 26, 2016

Toggle the details-on-demand panel on\off

if (Document.ActivePageReference.DetailsOnDemandPanel.Visible == False):
   Document.ActivePageReference.DetailsOnDemandPanel.Visible = True
else:
   Document.ActivePageReference.DetailsOnDemandPanel.Visible = False

1 comment:

  1. Why does the same code not work for the Data Panel (obvsiously after changing DetailsOnDemand to Data?

    ReplyDelete