S Stern0m1 Member Licensed User Feb 6, 2017 #1 I'm loading a layout file to a panel in code that has a button. How do I declare a click sub? Thanks
hongbii Active Member Licensed User Longtime User Feb 7, 2017 #2 If you draw the button in the designer, then the button's click event should declare by using the designer. In the designer, right click the button > Generate> Click Upvote 0
If you draw the button in the designer, then the button's click event should declare by using the designer. In the designer, right click the button > Generate> Click
S Stern0m1 Member Licensed User Feb 7, 2017 #3 Im adding the layout file to a panel during the execution of the program. Upvote 0
DonManfred Expert Licensed User Longtime User Feb 7, 2017 #4 Then you need to create the click sub by your own... Get inspired by the designer how the sub should look like. Upvote 0
Then you need to create the click sub by your own... Get inspired by the designer how the sub should look like.