BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-17-2007, 01:42 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2007
Model: 8800
PIN: N/A
Carrier: telus
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default setSelectCommand for a form object ??

Please Login to Remove!

I have an app that we have almost moved from a moto /nokia device to bb but have a small UI issue here
almost every list/form
has
private Command cmBACK = new Command("Back",Command.BACK,1); // left-side
private Command cmOK = new Command("Select",Command.OK,1); // right-side

scr.addCommand(cmBACK);
scr.addCommand(cmOK);

on scr type of List we can use
.setSelectCommand(null);

to get rid of the default Select item but the scr type of Form has no similar option
is there an other way to rid the UI of the default "Select"
on a form ??
Offline  
Old 05-20-2007, 11:18 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

maybe don't define cmOk as Command.OK, but use some different type?
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

Allen Bradley 1745-LP151 and 1745-E151 Processor and Expansion Unit New
$100.0
Allen Bradley 1745-LP151 and 1745-E151 Processor and Expansion Unit New picture1" 150# Micro Motion CMF100 Sensor Enhanced Core Processor CALIBRATED G10 (2203)
$3250.0
1Siemens PLC S7-1200. CPU1214C
$1.0
Siemens PLC S7-1200.  CPU1214C pictureRobot coupe R300 Series Food Processor Stainless Steel Bowl Set
$550.0
Robot coupe R300 Series Food Processor Stainless Steel Bowl Set pictureGE Fanuc IC693CPU374-DJ CPU Module With 240K User Memory New In Box
$2200.0
GE Fanuc IC693CPU374-DJ CPU Module With 240K User Memory New In Box picture






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