Re: Option button menuitem disabling

2013-01-20 Thread J. Landman Gay

On 1/20/13 6:25 PM, Paul Hibbert wrote:

Just tried Win 7 (LC 5.5.3) and it appears to have exactly the same issue.


Thanks for the advice everyone, it looks like removing unnecessary menu 
items is what I need to do. I'm a Mac girl, I should get out more.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Option button menuitem disabling

2013-01-20 Thread Robert Sneidar
Oh that's a good idea. Didn't even think of that. This is why I love this list. 
People think of things that escape my notice. 

Bob Sneidar
IT Manager
Calvary Chapel CM
Sent from iPhone

On Jan 20, 2013, at 16:06, Terry Judd  wrote:

> I had this same problem a couple of weeks ago. I had to resort to actually 
> removing the disabled items from the menu (by script) and replacing them when 
> when they needed to be enabled.
> 
> Terry...
> 
> On 21/01/2013, at 10:29 AM, J. Landman Gay wrote:
> 
>> On 1/20/13 5:06 PM, Robert Sneidar wrote:
>>> I think it's a ui thing. Windows does not provide or define for
>>> disabled menu items. I think.
>> 
>> I thought of that, can anyone else verify? It seems kind of stupid, if it's 
>> true. Would it only be XP or is it all versions of Windows?
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> Dr Terry Judd
> Senior Lecturer in Medical Education
> Medical Eduction Unit
> Faculty of Medicine, Dentistry & Health Sciences
> The University of Melbourne
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Option button menuitem disabling

2013-01-20 Thread Paul Hibbert
Just tried Win 7 (LC 5.5.3) and it appears to have exactly the same issue.

I tried this for a workaround, it's a bit drastic removing the choice, but it 
works:

## Store the menu items in a custom property "uText" ##

on menuPick pItemName
   lock screen   -- Avoids a momentary flash of 
different text on the button
   put the uText of me into me   -- Restore the menu items from 
the custom property
   delete line lineOffset(pItemName, me) of me   -- Delete the chosen item from 
the menu
   set the label of me to pItemName  -- Show the label as the 
chosen item
   // Process pItemName
end menuPick

Paul

On 2013-01-20, at 3:29 PM, J. Landman Gay wrote:

> On 1/20/13 5:06 PM, Robert Sneidar wrote:
>> I think it's a ui thing. Windows does not provide or define for
>> disabled menu items. I think.
> 
> I thought of that, can anyone else verify? It seems kind of stupid, if it's 
> true. Would it only be XP or is it all versions of Windows?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Option button menuitem disabling

2013-01-20 Thread Terry Judd
I had this same problem a couple of weeks ago. I had to resort to actually 
removing the disabled items from the menu (by script) and replacing them when 
when they needed to be enabled.

Terry...

On 21/01/2013, at 10:29 AM, J. Landman Gay wrote:

> On 1/20/13 5:06 PM, Robert Sneidar wrote:
>> I think it's a ui thing. Windows does not provide or define for
>> disabled menu items. I think.
> 
> I thought of that, can anyone else verify? It seems kind of stupid, if it's 
> true. Would it only be XP or is it all versions of Windows?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Option button menuitem disabling

2013-01-20 Thread J. Landman Gay

On 1/20/13 5:06 PM, Robert Sneidar wrote:

I think it's a ui thing. Windows does not provide or define for
disabled menu items. I think.


I thought of that, can anyone else verify? It seems kind of stupid, if 
it's true. Would it only be XP or is it all versions of Windows?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Option button menuitem disabling

2013-01-20 Thread J. Landman Gay

On 1/20/13 5:15 PM, Scott Rossi wrote:

Ok, this is really dumb, but does it make any difference if you
script "enable menuItem xyz..." instead of "set the enabled of..." ?


If it's dumb, then so am I because I tried it. No difference.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Option button menuitem disabling

2013-01-20 Thread Scott Rossi
Ok, this is really dumb, but does it make any difference if you script "enable 
menuItem xyz..." instead of "set the enabled of..." ?

Regards,


Scott Rossi
Creative Director
Tactile Media, UX Design

 Original message ----
Subject: Option button menuitem disabling 
From: "J. Landman Gay"  
To: LiveCode Mailing List  
CC:  

null
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Option button menuitem disabling

2013-01-20 Thread Robert Sneidar
I think it's a ui thing. Windows does not provide or define for disabled menu 
items. I think. 

Bob Sneidar
IT Manager
Calvary Chapel CM
Sent from iPhone

On Jan 20, 2013, at 14:52, "J. Landman Gay"  wrote:

> I have some option buttons that enable/disable certain menuitems using this 
> syntax:
> 
> set the enabled of menuitem "blah" of me to false
> 
> This puts the left-parentheses next to the item, and on OS X it works fine. 
> On Windows XP, the menu item is not dimmed, it remains selectable, and the 
> left parentheses is showing like this:
> 
>  Button
>  (MenuItem 1
>  (MenuItem 2
> 
> Is there a way around it?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Option button menuitem disabling

2013-01-20 Thread J. Landman Gay
I have some option buttons that enable/disable certain menuitems using 
this syntax:


 set the enabled of menuitem "blah" of me to false

This puts the left-parentheses next to the item, and on OS X it works 
fine. On Windows XP, the menu item is not dimmed, it remains selectable, 
and the left parentheses is showing like this:


  Button
  (MenuItem 1
  (MenuItem 2

Is there a way around it?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode