How to highlight the bitmapfield when worn?
Hello
I am trying to create an image menu based on my application.
The idea is to display different image to the user icons. The user can scroll on these images, and then click an icon by clicking on it.
I started by posting simple bitmaps using bitmapfield and then of the substitution of the wheel select the event. Here, I'll check that bitmapfield has the focus and do the next step accordingly.
Currently, I cannot highlight any icon when the focus is on it, or when it is activated. This makes it different from knowing which icon is currently being developed.
That's how I declare my bitmapfields:
bmpRecFld = new BitmapField (bmpRec, BitmapField.FOCUSABLE |) BitmapField.HIGHLIGHT_FOCUS | BitmapField.HIGHLIGHT_SELECT);
Can someone please guide me here?
Thank you
Saket
you want to show the blue color focus around the bitmap fields
If Yes, then
BitmapField bitmapField = new BitmapField(bitmap,Field.FOCUSABLE){ protected void layout(int width, int height) { setExtent(bitmap.getWidth()+10, bitmap.getHeight()+10); }
};
or b that I have strength can understand
Tags: BlackBerry Developers
Similar Questions
-
My Dungeon AT100 flashing (gel) / how to enlarge the fonts when browsing
I tried to disable my Tablet (AT100), but he keep re-reading as 'opening line of light sparkles' and then a 'flash '. He continues by doing this.
I tried to turn if off, but I can't.
I tried to recharge the battery, but there is nothing to change.
I had to wait for these to be repeated until all batteries are brains.
Why would this happen? What's wrong?
What can I do, when this happen? Reboot? but I can't find those restart button (as these mini button that allows you to push a pencil point)
~*~*~*~*~*~*~*~*~*~*~*~
How to enlarge the fonts when I'm surfing the internet?Thank you.
Post edited by: ec
Hello
I think the sparks of light line is a background image possibly the Android system crashed I think you should start in safe mode.
How?1. press the power button and quickly press and hold the Volume button down.
2. continue to press the Volume button down until you enter secure ModeNow you can perform factory reset data as below:
Tap applications > settings > privacy > data reset > Reset tablet > clear all.
Factory data collection will be -
How to set the title when using InvokeManager (MediaPlayer)
Hi Im using InvokeManager to play the video file (Media Player)
How to change the title when media player to play the video (above)-> it by default uses the name of the file being played
but I want to change this
How to do this?
Thank you
Try this
InvokeManager * invokeManager = new InvokeManager();
InvokeRequest cardRequest;
cardRequest.setTarget ("sys.mediaplayer.previewer");
cardRequest.setAction ("bb.action.OPEN");
cardRequest.setUri ("* video url *");
QVariantMap map;
Map.Insert ("contentTitle", "My title");
QByteArray requestData = bb:psObject::encode (map, NULL);
cardRequest.setData (requestData);
Response InvokeTargetReply * = invokeManager-> invoke (cardRequest);Note: Mark your post as solved, if this solves your problem
-
Anyone know how to number the photos when they are exported from LR, so someone can choose the photo they like with a number
Sorry took with the last answer.
More simple form used something like-Sequence_Filename number suffix
If an image as _ABC0987.nef will become 0001_0987.nef and 0002_0988.nef, etc.
Ask your customer to give you the full file name. The suffix indicates the original file.
(I hope that you only need to search in a folder and do not have a bunch of images named the same that would cause problems!)
-
How to display the ToolTip when the input text is disable
How to display the ToolTip when the input text is disable?
Just checked in FF and IE11, works fine for me (jdev 12.1.3)
Dario
-
How to generate the alert when pageitem move on the page? and what class boss be use to move pageitem
Hi Philippe,.
You can see the kDocBoss for the ClassID with the PMIID IID_ITRANSFORM_DOCUMENT kLocationChangedMessage.
Markus
-
Anyone know how to solve the problem, when he says scratch disk is full?
Anyone know how to solve the problem, when he says scratch disk is full? don't do anything :/
Go to Edition > purge > all
This will clear all of your history and Clipboard, thus freeing the scratch disk space.
-
can you please advise how to highlight the text of sequels?
can you please advise how to highlight the text of sequels?
The second paragraph of the bulb meets this: using After Effects | Formatting characters and the character Panel
-
Highlight the BitmapField located in the status bar
I throw a banner ad at the bottom of a screen and popular technology seems to be throwing it in a verticalFileManager and a mainscreen.setStatus (verticalFileManager). No problemo, works very well. I did the Focusable bitmapfield and when I select it and click/navclick/whatever - it does exactly what I want. The problem is that it is not inspired by any kind of a highlight to signify that it is currently selected.
In the status bar somehow block the use of drawFocus?
If I have to do it manually, just thinking about using the graphics.invert to reverse this part of the screen when it is highlighted - that is the best way to go about this?
Thanks in advance - you guys always have a ton of help and save us a ton of time beginners.
The highlight might be there, but it does not show because there is no place for it.
Try, for example, if the add-in is a button, to let a couple of pixels around it using setSpace() and you will see a line around it when selected.
So, how are implementation of online advertising?
Rab
-
How to highlight the menu item based on the position of the scrolling page?
Hello
I am interested by learned how to achieve the effect in the upper left corner of this Web page:
When you click on any of the six gray menu icons (grey rectangles), you scrolled down to the deep page and arrive at the location one or two or four or what you clicked on... it's easy. But how do I get the menu item (a rectangle) to be highlighted (change to green) to indicate the current position on the web page?
Any suggestion would be appreciated
Thank you
Bradley
Hi Bradley
You can use the anchor links for menu items that would be would be the active state once that section of the specific page of scrolling.
This video explains the process:
https://www.YouTube.com/watch?v=qNsI6DHz5Co
Thank you
Sanjit
-
For Apple Watch, can someone please show me how to change the time on my watch when I travel to another country, like London or Singapore? Thank you.
Hello
When traveling to a different time zone, it is not necessary to manually change the time on Apple Watch.
After turning off the flight on each of your iPhone and Apple Watch, the time on your watch can be updated automatically to reflect the local time.
If it is not the case, try restarting your watch:
-To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off.
-To reactivate: press and hold the side button until you see the Apple logo.
-
How to highlight the part of the tree?
Hello everyone!
I have a question: how to highlight a part of the tree on a condition? (please see the attached vi and the pictures for a clearer explanation of the problem)
I'm using LabView 2014.
Thank you very much!
Have patience. You only aske the question about 40 minutes earlier.
You highlight the lines you want by writing the values to the control. Don't mess with the background color of cell.
You try to highlight several items? If so, then right-click on the control and let him choose 0 or more elements. As soon as you select a mode with the possibility of more than one element, the values of the tree becomes an array of strings, rather than just a string. You need build an array of strings that you will write to a local variable of the control to highlight the various elements.
-
How to highlight the area below a conspiracy?
I came across this GUI and was interested in knowing how highlight the area underneath the plot as the indicator of power spectrum in the image.
Thank you!
Simply change the option 'fill base' (via right click) for a pot of data.
The Conference titled "Graph Properties...". Plots '. It is called "fill." Same thing.
-
M2000 microcassette Transcriber - how to erase the tape when I'm done with the dictation?
How clear the tape when I'm done with the dictation?
Hi Carol! Unfortunately, this is the only way to erase the recordings on the Recorder's tape Micro M2000.
If my post answered your question, please mark it as "accept as a Solution.
-
How to get the event when we change our simcard in BB device
Hi all
Please, someone tell how to get the event or any listener method that can automatically called when we change our SIM card device.
Thanks in advance,
TEJ
Hi Tej,
I came across some post, which may be useful for you
http://supportforums.BlackBerry.com/T5/Java-development/is-SIM-ID-really-exist/m-p/54407#M5954
Maybe you are looking for
-
Are you remember places window and on dual monitor Mac palette
Mac OS 10.11.4 (El Capitan) Mac Pro (early 2008) 8 GB of RAM 2 x 2.8 Ghz This Mac two monitors has been improved lion in El Capitan yesterday. All right, except that it's not remembering places window between start-ups. So if I drag my Safari window
-
install an SSD in Workstation Z600.
Hello Description explains it, I thought to replace my current HARD drive to an SSD. I did a lot research on this myself, but thought I would check here just wrap there are any falls known issues/pit with a ssd in z600 workstation installation, I wil
-
Only the C partition on the new Satellite C50-B-14Z
Hello I'm not an experienced user, but I'll do my best to explain the problem. I bought Toshiba Satellite C50-B-14Z with 8.1 installed Windows, and when starting the system, I noticed that there is only one partition of hard drive, the C partition. W
-
Satellite L500D - peripheral unknown listed in Device Manager
Hello world I have a Satellite L500D and in other devices under Device Manager, I have unknown device listed. I installed all the drives listed on the Toshiba page without success, anyone had this before and if so please can you me how to fix it.
-
Hi, I use iTunes 12.3.2.35 on a Windows 7 computer. I don't seem to be able to import files from a CD that contains the files on it as mp3 files. If I start iTunes and then put the CD in, it doesn't appear and I can't drag and drop.