PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: James Zukowski on October 14, 2020, 06:16:29 PM

Title: Excluding a Tab from a Folder Programmatically
Post by: James Zukowski on October 14, 2020, 06:16:29 PM
Is there a way to prevent a tab on a folder from being created based on Pre-Display factors? Example: Prevent the tab from being created based on whether contingent files exist. If the file(s) exist, create the tab, else skip it.
Thanks!

v13.10 almost on v17
Linux RH
Title: Re: Excluding a Tab from a Folder Programmatically
Post by: Jane Raymond on October 20, 2020, 11:23:39 AM
After the folder has been drawn (like in the Post-Display logic of the main panel) you can drop or disable a tab.
e.g.
fldr'droptab(3) ! drops the third tab
fldr'disabletab(1) ! disables the first tab
Title: Re: Excluding a Tab from a Folder Programmatically
Post by: James Zukowski on October 20, 2020, 11:31:38 AM
Look like what I need. Thank you!