Wednesday, July 8, 2009

Progress Bar in Black Berry

Editable Progress Bar
GaugeField gaugeField;
gaugeField = new GaugeField ("PROGRESS ", 0, 30, 15, Field.FOCUSABLE);    

Precentage Progress Bar
GaugeField gaugeField2;
gaugeField2 = new GaugeField ("PERCENT ", 0, 30, 15, GaugeField.PERCENT);
 
Normal Progress Bar
GaugeField gaugeField3;
gaugeField3  = new GaugeField ("NO_TEXT ", 0, 30, 15, GaugeField.NO_TEXT); 

Syntax
GaugeField (lable,min,max,start,style);
Post a Comment