David, why do you want to go the complicated way by all means?
I simply use the "checked" property of the menu items (like Fabien told you),
and then:
PUBLIC SUB mnuSortA_Click()
IF mnuSortA.Checked = FALSE THEN
mnuSortT.Checked = FALSE
mnuSortA.Checked = TRUE
.....
It's easy, works fine, looks fine, and the user won't miss radio icons.
Matti
David Dell schrieb:
> OK, but how can I get the standard radio check icon for menus on the
> Linux operating system the program is running (for example in Ubuntu
> the one used in View menu of the Calculator program, etc.)? Is there a
> way to get if from the system using Gambas instead of including it in
> my program?
>
> Thank 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 <[email protected]>:
>>> 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,
>>> David
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user