You can easily build your own context-sensitive help by listening
for the keyDown event and using the FocusManager's getFocus call to retrieve
the control in focus. 

Here is a simple app that can get you started:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"; xmlns="*"
width="700" keyDown="handleKey(event)">

<mx:Script>
        function handleKey(event)
        {
                msg.text += "handleKey code " + Key.getCode() + " target " +
event.target + 
                " focus " + getFocusManager().getFocus() + "\n";
        }
</mx:Script>

<mx:HBox>
        <mx:Text text="lkajrlekja rekl "/>
        <mx:RadioButton label="bobbe"/>
</mx:HBox>

<mx:TextInput keyDown="handleKey(event)"/>
<mx:NumericStepper/>
<mx:Button/>

<mx:TextArea width="90%" height="70%" id="msg"/>

</mx:Application>

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 28, 2005 12:43 AM
To: [email protected]
Subject: [flexcoders] Re: context-sensitive help


As i know in flex,i think this type of requirement we can't implement
in flex application.And this is very useful functionality.If they
support in future this in flex very much useful!!

-Thipperudra


--- In [email protected], "ssudha2" <[EMAIL PROTECTED]> wrote:
> Are features for context-sensitive help available in Flex out-of-
box?  
> That is, apart from tool-tip, can I invoke a help window for each 
field 
> on click of F1.  
> 
> Should this be implemented programmatically or features are already 
> available in Flex?
> 
> Thanks





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to