RE: [flexcoders] Add check mark to context menu item when running in Web (not AIR)

2010-09-02 Thread Pearl Fernandes
Thanks Alex. Is it possible to pop up a Flex Menu on right click
(without adding JS code and preventing event defaults etc)?

Even if I can't check the context menu item, any way of highlighting it
(making the text bold or using an icon) would be great with me. All I
need is some way to indicate that this is the currently selected item to
the user. Is this possible?

 

Thanks,

Pearl

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alex Harui
Sent: Monday, August 30, 2010 11:13 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Add check mark to context menu item when
running in Web (not AIR)

 

  

AFAIK there is no way to do that.  Some folks add a context menu item
that pops up a regular Flex menu with checkboxes.  It is two steps, but
that is the only way.


On 8/30/10 7:20 AM, "pearlnferns"  wrote:


 
 
   

Hi all,

I have a context menu to which I have added context menu items
at
runtime. I need to place a check mark next to the menu item that
is
currently selected. Although Flex provides the 'checked'
property for
a ContextMenuItem, this can be used only with AIR applications
and the
app I'm working on is not an AIR app.

Any suggestions on how this can be achieved?

TIA,
Pearl

 
   




-- 
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui




__
 DISCLAIMER: This electronic message and any attachments to this electronic
 message is intended for the exclusive use of the addressee(s) named herein
 and may contain legally privileged and confidential information. It is the 
 property of Celstream Technologies Pvt Limited. If you are not the intended
 recipient, you are hereby strictly notified not to copy, forward, distribute
 or use this message or any attachments thereto. If you have received this
 message in error, please delete it and all copies thereof, from your system
 and notify the sender at Celstream Technologies or 
 administra...@celstream.com immediately.
__


Re: [flexcoders] Add check mark to context menu item when running in Web (not AIR)

2010-08-30 Thread Alex Harui
AFAIK there is no way to do that.  Some folks add a context menu item that pops 
up a regular Flex menu with checkboxes.  It is two steps, but that is the only 
way.


On 8/30/10 7:20 AM, "pearlnferns"  wrote:






Hi all,

I have a context menu to which I have added context menu items at
runtime. I need to place a check mark next to the menu item that is
currently selected. Although Flex provides the 'checked' property for
a ContextMenuItem, this can be used only with AIR applications and the
app I'm working on is not an AIR app.

Any suggestions on how this can be achieved?

TIA,
Pearl






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui