[Gambas-user] Removing a runtime created control

KKing kicking177 at gmail.com
Thu Nov 26 10:55:52 CET 2020


I create a variable number of controls at runtime (depending on data 
being processed) with below.
     hToolButton = New ToolButton(Me) As "My_Button"
     hToolButton.Text = "MyButton" & CStr(intIndex)
     hToolButton.Tag = "MyButton" & CStr(intIndex)
Is there a way to delete an individual "intIndex" based "My_Button" 
control and or all the "My_Button" controls?
K.



More information about the User mailing list