I reguarly use buttons with one routine and depending on the button pressed perform an action
for eg
Is there a way to do similar with checkboxes?
I want to test if a checkbox is checked or not and to be able to programatically select or unselect individual boxes but all within the one code module.
Thanks for some great software Erel.
for eg
B4X:
Sub btnAction_Click
Dim btn As Button ' use to find which button sent us here
btn = Sender ' this sent us here
BtnVal=btn.Tag
Select BtnVal
Case 0
Case 1
.........
.........
.........
End Select
Is there a way to do similar with checkboxes?
I want to test if a checkbox is checked or not and to be able to programatically select or unselect individual boxes but all within the one code module.
Thanks for some great software Erel.