BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-29-2010, 01:48 PM   #1 (permalink)
New Member
 
Join Date: Mar 2010
Model: Bold
PIN: N/A
Carrier: WIFI
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default change the origin of the screen

Please Login to Remove!

how to change the origin of the MainScreen ?
from (0,0) to (0,10) ?
Offline  
Old 03-29-2010, 02:40 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2010
Model: N/A
PIN: N/A
Carrier: Fledge
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Cannot be done directly with a mainscreen. You have two options:
1) Add a custom manager to the mainscreen that sets the position of child fields starting at 0,10 instead of 0,0.
2) Create a custom screen and override sublayout(int width, int height) to call layoutDelegate and setPositionDelegate
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

tl866cs universal usb minipro eeprom flash bios programmer avr gal pic spi
$69.49
 tl866cs universal usb minipro eeprom flash bios programmer avr gal pic spi picturearc flash suit
$1000.0
arc flash suit picture15-PCS IC PIC16F630-I/P MICROCOMPUTER (MCU) FLASH 1KX14 16F PIC16F630-I/P 16F630
$14.2
15-PCS IC PIC16F630-I/P MICROCOMPUTER (MCU) FLASH 1KX14 16F PIC16F630-I/P 16F630 picture2-PCS FLASH MEM PARALLEL 3V/3.3V 128M-BIT 16M X 8/8M X 16 120NS TE28F128J3C120
$24.33
2-PCS FLASH MEM PARALLEL 3V/3.3V 128M-BIT 16M X 8/8M X 16 120NS  TE28F128J3C120 picture10-PCS FLASH MEM PARALLEL 3.3V 32M-BIT 4M X 8/2M X 16 90NS 48- AM29DL323DT-90EI
$42.65
10-PCS FLASH MEM PARALLEL 3.3V 32M-BIT 4M X 8/2M X 16 90NS 48- AM29DL323DT-90EI picture






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