BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-16-2011, 03:46 PM   #1 (permalink)
New Member
 
Join Date: Mar 2011
Model: Curve
PIN: N/A
Carrier: Sprint
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Create zoom function in browser

Please Login to Remove!

I'm trying to create a zoom function on the menu for the browser in my app but I can't get it to work.

MenuItem zoomin = new MenuItem("Zoom IN",1,0) {

public void run() {

invalidate();
BrowserField theBrowserfield = new BrowserField();
float currentZoom = theBrowserfield.getZoomScale();
float newZoom = currentZoom + currentZoom * (float) .25;
theBrowserfield.setZoomScale(newZoom);

}
};

Anyone have any ideas on how I can get it to actually zoom in on the screen?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Create zoom function in browser
Thread Thread Starter Forum Replies Last Post
WIFI connects,setting = hotspot browser,browser still tries to go to tmobile browser Billy_Gunn General 8900 Series Discussion - Javelin 3 05-15-2010 03:18 PM
Browser selecting incorrect browser... skyman84 General BlackBerry Discussion 3 11-19-2008 11:23 AM
Browser Question fmcgirt General 9000 Series Discussion - Bold 0 11-12-2008 07:14 PM
Opera Mini 4 web browser (with zoom) works on 7250 and 7290! Mark Rejhon General Legacy Device Discussion 5 01-08-2008 08:34 PM
Blackberry browser on Cingular mbn General BlackBerry Discussion 29 08-21-2005 01:15 PM

Honeywell C0342008 5K Potentiometer T24047
$211.5
Honeywell C0342008 5K Potentiometer T24047 picture10PCS MF-A04 Rotary Caps Potentiometer Knobs Counting Dial TB
$3.82
10PCS MF-A04 Rotary Caps Potentiometer Knobs  Counting Dial TB picture10pcs B103 16x2mm 10K Ohm Double Dial Taper Volume Wheel Duplex Potentiometer RS
$0.87
10pcs B103 16x2mm 10K Ohm Double Dial Taper Volume Wheel Duplex Potentiometer RS picture10pcs B103 16x2mm 10K Ohm Double Dial Taper Volume Wheel Duplex Potentiometer BR
$0.88
10pcs B103 16x2mm 10K Ohm Double Dial Taper Volume Wheel Duplex Potentiometer BR picture100 OHM 2 WATT POTENTIOMETER CTS RV4LAYSA101A SD ADJUST LOCKING NOS
$4.95
100 OHM 2 WATT POTENTIOMETER  CTS RV4LAYSA101A  SD ADJUST LOCKING  NOS picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.