Have you tried calling setSelected() on the MenuItem?

On Sep 14, 2011, at 6:49 AM, prophe wrote:

> Hi all, I want to create menuBar with checkBox item like on the picture:
> http://apache-pivot-users.399431.n3.nabble.com/file/n3335459/78.jpg 
> 
> Can pivot do something like this?
> 
> I can now only to add MenuItem whith text and  keyboard shortcut. But I want
> checkBox in place of MenuItem:
> 
>               <Menu>
>                       <Menu.Section>
>                               <Menu.Item>
>                                       <buttonData>
>                                               <content:MenuItemData 
> text="Show/hide navigation panel"
>                                                       
> keyboardShortcut="CMD-N" />
>                                       </buttonData>
>                               </Menu.Item>
>                       </Menu.Section>
>               </Menu>
> 
> 
> 
> 
> -----
> Thank you!
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/CkeckBoxes-in-menuBar-tp3335459p3335459.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to