开发者

Mix s:Button and s:ToggleButton in s:ButtonBar

开发者 https://www.devze.com 2023-02-02 19:13 出处:网络
I would like some of the buttons in s:ButtonBar not to have a selected state. Imagine a menu where some buttons 开发者_开发技巧instead of opening a pop-up perform an action (they don\'t have to be sel

I would like some of the buttons in s:ButtonBar not to have a selected state. Imagine a menu where some buttons 开发者_开发技巧instead of opening a pop-up perform an action (they don't have to be selected while the pop-up is open).


You didn't actually ask a question, but I think I get what your after.

The buttons are created using factories defined as skin parts in the ButtonBar. In theory you could create your own custom classFactory to create a Button or ToggleButton based on some criteria.

It may be necessary to extend the ButtonBar to make it work, though.

0

精彩评论

暂无评论...
验证码 换一张
取 消