Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-28 Thread David Dell
you, David > it simply don't exist... you need to use the check mark and then > compute the exclude by you self... it's not so complicated to do. > > 2009/11/27 David Dell : >> I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical >> app

Re: [Gambas-user] Modifying a picture assigned to a menu

2009-11-28 Thread David Dell
re objects in memory, so I can perform code like: DIM Pic AS Picture Pic = MenuCustomColor.Picture Pic.Fill(Dialog.Color) MenuCustomColor.Picture = Pic for any number of times without memory penalties. Please confirm this. Thank you, David On Sat, Nov 28, 2009 at 10:09 AM, David D

[Gambas-user] Modifying a picture assigned to a menu

2009-11-27 Thread David Dell
Let's say first I assign a picture to a menu: DIM Pic AS Picture Pic = NEW Picture(18, 18) Pic.Fill(Color.Black) MenuCustomColor.Picture = Pic When I try to modify a picture assigned to a menu, if I use MenuCustomColor.Picture.Fill(Dialog.Color) it does not do anything. Instead I hav

[Gambas-user] Get the index of a menu

2009-11-27 Thread David Dell
How can I get the index of a menu in the collection of children of its parent? There is no Menu.Index property. Thank you, David -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simpl

[Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-27 Thread David Dell
I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical application and I'm trying to create radio (mutually exclusive) menu items, with a radio icon instead of a check mark when selected. I can't find any property in the Menu documentation that does that. Can you help? Thank you, Davi