Hi All,
I am sure I am doing something wrong as I couldn't find any mention for my problem in the forum.
I have a toolbar1 set to text with tag update.
The code above is supposed to work only when the tag update is returned - when I press on the toolbar text, but this is not the case.
Since I have B4XFloatTextField, when I focus (enter to edit/input the field) the code above is triggered!! if I understand correctly it shall only trigger when I press on the toolbar text.
I do not have any other fields that has "update" as a tag, as a matter of fact I have checked all the B4XFloatTextField none had tags, so I have specified different tags so It only returns when I press on the toolbar but to no avail! not sure how it see the tag as update when I press on B4XFloatTextField.
Any idea of what I am doing wrong here?
Thank you!
I am sure I am doing something wrong as I couldn't find any mention for my problem in the forum.
I have a toolbar1 set to text with tag update.
B4X:Sub B4XPage_MenuClick (Tag As String) If Tag = "update" Then log("test") End If End Sub
The code above is supposed to work only when the tag update is returned - when I press on the toolbar text, but this is not the case.
Since I have B4XFloatTextField, when I focus (enter to edit/input the field) the code above is triggered!! if I understand correctly it shall only trigger when I press on the toolbar text.
I do not have any other fields that has "update" as a tag, as a matter of fact I have checked all the B4XFloatTextField none had tags, so I have specified different tags so It only returns when I press on the toolbar but to no avail! not sure how it see the tag as update when I press on B4XFloatTextField.
Any idea of what I am doing wrong here?
Thank you!