alternetsoft / AlternetUI

MIT License
22 stars 2 forks source link

Button toggle mode? #102

Closed Shadowblitz16 closed 3 weeks ago

Shadowblitz16 commented 6 months ago

Is there a way to get grouped toggle buttons? image

image

generalloki commented 6 months ago

If you need Button controls, I beleive you can handle Click event and change IsBold for the "active" button in order to show user what button is "selected".

Shadowblitz16 commented 6 months ago

ok that will do for a temporary fix

generalloki commented 6 months ago

Is "grouped toggle buttons" feature present in Maui or Winforms?

Shadowblitz16 commented 6 months ago

Is "grouped toggle buttons" feature present in Maui or Winforms?

I don't know, but I know vb6 win32 forms supported it.

generalloki commented 6 months ago

I am closing this for now as button groups can be implemented using Click events.

Shadowblitz16 commented 5 months ago

@generalloki I looked into this and basicly what I need is a radiobox with the style of a button https://forums.wxwidgets.org/viewtopic.php?t=23096

generalloki commented 5 months ago

I beleive we could add style enum property into the ComboBox control with at least two predefined styles

public enum ComboBoxKnownTheme
{
   Default,
   Button,
}
Shadowblitz16 commented 5 months ago

I beleive we could add style enum property into the ComboBox control with at least two predefined styles

public enum ComboBoxKnownTheme
{
   Default,
   Button,
}

ComboBox? Wouldn't RadioBox be better?

generalloki commented 5 months ago

Sure not ComboBox but RadioBox, my mistake. Thanks

Shadowblitz16 commented 5 months ago

Sure not ComboBox but RadioBox, my mistake. Thanks

It's ok I was just confirming