Thanks Jason.

This is useful information.  I'll try this.

Thanks
Sudha




--- In [email protected], Jason Szeto <[EMAIL PROTECTED]> wrote:
> As a followup to my post, I realized I was running my test on 
Firefox, which
> does not display its own Context help when pressing F1. In IE, when 
you
> press F1, it pops up the context help. To get around this problem, 
you can
> use a bit of script in your html page. 
> 
> Create a wrapper for your mxml app (one method is to grab the html 
source
> when you view your mxml app), and then add in the following script 
into your
> html wrapper:
> 
> <SCRIPT>
> function dsble_Help(){
> //replace this -alert- with your help scripts
> alert('confirmation that event will trigger the F1 command')
> return false;
> }
> document.onhelp=dsble_Help
> </SCRIPT>
> 
> Note that your Flex app will still receive the F1 keystroke (ascii 
112) in
> IE. 
> 
> Jason
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 28, 2005 11:17 AM
> To: [email protected]
> Subject: RE: [flexcoders] Re: context-sensitive help
> 
> 
> 
>       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





 
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