You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2021/02/07 15:51:52 UTC

[GitHub] [royale-asjs] Bilbosax edited a comment on issue #1074: ToggleButtonBar Selection Issue

Bilbosax edited a comment on issue #1074:
URL: https://github.com/apache/royale-asjs/issues/1074#issuecomment-774697093


   Hi Carlos.  So I did a little research and this is what I found.  At the link below for the Flex MX ToggleButtonBar component, the first lines state
   
   "Only one button in the ToggleButtonBar control can be in the selected state. This means that when a user selects a button in a ToggleButtonBar control, the button stays in the selected state until the user selects a different button."
   
   The original default is that only one button can be selected at a time, and one button must ALWAYS be selected.  They did add a _toggleOnClick_ parameter that can be set to true or false that allows a user to deselect a button that was previously selected so that no buttons are selected in the togglebuttonbar, but the default is that a button must always be selected.  I did a quick test in AIR and this is indeed how the ToggleButtonBar works. Here is a link with the detailed description.
   
   https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/ToggleButtonBar.html


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org