Skip to content

Improve RadioButton Click event implementation#2887

Merged
cwensley merged 4 commits intopicoe:developfrom
Descolada:RadioButtonClickEvent
Feb 8, 2026
Merged

Improve RadioButton Click event implementation#2887
cwensley merged 4 commits intopicoe:developfrom
Descolada:RadioButtonClickEvent

Conversation

@Descolada
Copy link
Contributor

RadioButton is documented to have a Click event, but it apparently wasn't wired up on platforms other than macOS.

Expected behavior: triggers once on every click on the radio button, even if it's already checked.

  • WinForms: tested, but for unknown reasons the event triggers twice (I could not determine the reason in a reasonable timeframe and gave up on it)
  • Wpf: tested, working
  • Gtk: tested, working
  • iOS: not tested
  • macOS: not tested (existing handler unchanged)
  • Android: not tested

@cwensley
Copy link
Member

cwensley commented Feb 8, 2026

This looks great! Thanks for the fixes. 🙏

I've added a fix for WinForms so it doesn't trigger twice, looks like the control styles were causing that, but I've verified with them off it still behaves correctly.

@cwensley cwensley added the bug label Feb 8, 2026
@cwensley cwensley added this to the 2.11.0 milestone Feb 8, 2026
@cwensley cwensley merged commit 7d910bc into picoe:develop Feb 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants