[Gambas-user] Menubutton prints "Click" setting Value=True

Bruce Steers bsteers4 at gmail.com
Sat Jan 21 22:13:24 CET 2023

Line 263 of MenuButton.class

Private Sub Value_Write(Value As Boolean)

  If Value Then Print "Click"


I had changed a CheckBox into a menu button and had not removed code
setting the CheckBox.Value = True

I spent ages trying to find out why my console kept printing "Click"

I tracked it down to that code in the MenuButton.class

should that code not be
  If Value Then Raise Click

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230121/2cc79b12/attachment.htm>

More information about the User mailing list