Skip navigation
shobhit 1983
Currently Being Moderated

focus issue

Dec 5, 2012 8:37 PM

i have a formi  n that form  i have combo box as a first element , i want to show focus on that once form loaded ,

 

 

I m using

cmb.setFocus()

cmb.drawFocus(true)

 

its working but throwing a error of null object reference . So if any one know any other option then plz help

 
Replies
  • Currently Being Moderated
    Dec 5, 2012 10:00 PM   in reply to shobhit 1983

    Are you calling setFocus on creationComplete?  It will drawFocus.  But usually the main issue is getting the SWF to be activated.  You can’t do it on all browsers.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points