Home › Forums › General › Programming › declaring and getComponent-better way? › Reply To: declaring and getComponent-better way?
September 16, 2017 at 12:11 pm
#72944
i tried to do this but it fails at the 1st item. it should be
declared with the load method. or does it have to be declared
locally?
tabs_Main_pt1: getComponent():setVisible(true)
tabs_mainB_pt1: getComponent():setVisible(true)
tabsParamB_p1pt1: getComponent():setVisible(true)
tabsParamB_p2pt1: getComponent():setVisible(true)
tabsParamB_p3pt1: getComponent():setVisible(true)
tabsParamB_p4pt1: getComponent():setVisible(true)
i was hoping to reduce code, and only declare once. what would be the
correct way to do this?