0 Replies Latest reply on Apr 22, 2010 4:05 AM by Biswamit

    Trying to put a busy Cursor but ...confused why its not showing up

    Biswamit Level 1

      Hi

       

      I have a Application and within it there are few HBox, List, VBOX , Canvas ......blah.. But one Vbox(vbox1) has a List(list1)

       

      From List on itemClick I have a requirement of opening up a tree node by doing a lazy loading of the tree

       

      And during this processing happens I wanted to show a busy cursor to let the user know that on item click the application is trying to load a tree and then open a particular node

       

      Did the folllowing

       

      CursorManager.setBusyCursor();

      and

      CursorManager.removeBusyCursor();

       

      Also

      var cusrorId:Number = CursorManager.setCursor(StyleManager.getStyleDeclaration("CursorManager").getStyle("busyC ursor"),CursorManagerPriority.HIGH)

      and

      CursorManager.removeCursor(cursorId)

       

      Also

       

      list1.cursorManager.setBusyCursor();

      vbox1.cursorManager.setBusyCursor();

      and

      list1.cursorManager.removeBusyCursor();

      vbox1.cursorManager.removeBusyCursor();

       

       

      But after all this I didn't see any Busy Cursor

       

      Busy Cursor is shown for few minutes if I put a Timer in between i.e after the ItemClick and before I trigger the processing of lazy loading of the tree

       

      Guys any guesses

       

      How can I make it work ? M I doing something wrong ? Please help

       

      Regards

      Biswamit