1 Reply Latest reply on Apr 12, 2011 9:46 PM by Flex harUI

    Spark components how to get focus

    Benoitcn Level 1

      I try set focus on a spark component

      but always get an error:



          this.lockPanel = new Panel();
          focusManager.setFocus( this.lockPanel );
      Description Resource Path Location Type
      1067: Implicit coercion of a value of type spark.components:Panel to 
      an unrelated type mx.managers:IFocusManagerComponent. 
      TheERP.mxml /TheERP/src line 127 Flex Problem