tags:

views:

6

answers:

0

i am using navigationClick method to handle click event of Bitmap images & Buttons it works fine when i dont use VerticalFieldManger . But when i adjust positions of field using this field manager then it doesnt capture click event of all controls just on capture Index(0) click which i think is verticalFieldmanager not other (Bitmaps & Buttons fields) Plzzzzzz help how to resolve it
code is protected boolean navigationClick(int status, int time)

   {  


    Field field = this.getFieldWithFocus();


     if(field.getIndex()==0)
     {

        Dialog.alert("Index 0 (bitmaP) clicked");
      }
      if(field.getIndex()==1)
      {
        Dialog.alert("Index 1(Button 1) clicked");
       }

       if(field.getIndex()==2)
       {
           Dialog.alert("Index 2 (Button2) Clicked");
       }
       if(field.getIndex()==3)
       {
            Dialog.alert("Index 3(bitmap2) Clicked");
       }
      }