Author Topic: Performance of All Controls on Tabbed form vs. using FormChangeButton  (Read 826 times)

scott.clark

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Is there a performance difference on placing all controls on the MainForm subgrouped on Tabs in a TabControl vs. placing the subgroups of controls on separate forms and using the FormChangeButton control?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5269
    • View Profile
    • AdvancedHMI
Re: Performance of All Controls on Tabbed form vs. using FormChangeButton
« Reply #1 on: October 16, 2015, 07:17:25 PM »
Yes. If you copy the code snippet from the MainForm to each new form, the hidden forms will stop updating when hidden

You can replicate this with tabs by adding a driver instance for each tab, then set the ComComponet of each control on the tab to its corresponding driver instance. You would then need to write code to change the DisableSubscriptions property based on which tab is showing.