blackberry:position of field in the screen -


i want open popup screen in same position of label. want method return position of field in screen. , use these position popup.

  public void sublayout(int width, int height){             super.sublayout(width,height);             setposition(x_postion_of_label,y_postion_of_labe);             } 

int xpos=labelfield.getleft() ; 

&

int ypos=labelfield.gettop(); 

will give starting x , y positions of labelfield .


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -