bamf replied to bamf's topic in NJ Series / Sysmac StudioI finally moved my global subroutines locally to the concerned pages. and used global variables to enable the ones I need. Thank you.
bamf posted a topic in NJ Series / Sysmac StudioHello, In sysmac studio, for a NA hmi, is there a way to access a button in Visual basic from a global subroutine ? I always get this when i compile : error BC30456: 'MyPage' is not a member of 'My_NA_HMI'. the code is : My_NA_HMI.MyPage.myButton.IsEnabled = True Regards,