PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Excluding a Tab from a Folder Programmatically  (Read 1063 times)

James Zukowski

  • Diamond Member
  • *****
  • Posts: 297
    • View Profile
Excluding a Tab from a Folder Programmatically
« 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
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Jane Raymond

  • Staff
  • Diamond Member
  • *****
  • Posts: 280
    • View Profile
    • PVX Plus Technologies
Re: Excluding a Tab from a Folder Programmatically
« Reply #1 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
Jane Raymond
Software Developer
PVX Plus Technologies Ltd.

James Zukowski

  • Diamond Member
  • *****
  • Posts: 297
    • View Profile
Re: Excluding a Tab from a Folder Programmatically
« Reply #2 on: October 20, 2020, 11:31:38 AM »
Look like what I need. Thank you!
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services