How can I design a custom button that has three lines of text in the button itself?
A matter of design, which is a good implementation of the following? I need to create a custom button that looks like:
----------- | Header | | Subheader | | Text | -----------
I know that I can not add a VerticalFieldManager or add any field of a ButtonField, but if I create a custom, button how I would create three lines of text similar to having three LabelFields lined up in a VerticalFieldManager?
Thank you.
You can create a focusable multiline field label creation with the bit style FOCUSABLE and with newline characters in its text. It is possible to work a bit like a button field (substitute navigationClick / navigationUnclick to perform the action or, better yet, to call fieldChangeNotify so that you can plug into the field with a FieldChangeListener).
Use RichTextField rather than LabelField if you want to play with fonts (say, "BOLD" underlined header; italic subheader; normal text).
If you want rounded corners and other effects, override the paintBackground method or painting of the field (don't forget to call the super.paint, if you go with the latter).
That being said - that there is no single best design, so feel free to browse the forums (research of "multiline" or "multiline" yields quite a few results) and come up with your own ideas.
Tags: BlackBerry Developers
Similar Questions
-
How can I design hand logo like that?
I want to explain how to design a logo of hand like that, thank you very much.
Take a look at this http://www.youtube.com/watch?v=-Uxl9-ktPN8 to help you get started.
For this kind of design (which CAN be designed in Photoshop) you could better explore Illustrator.
Good luck
See you soon
John
-
How can I reinstall an add-on that has been disabled by an administrator?
Pinterest button was "disabled by the administrator" according to your page Add on. Given that I'm the only one using this PC and I have it has not disabled, how can I reinstall it? Several other modules have disappeared as well, so I think they are probably also disabled.
Thanks for any help.
I guess that you are referring to a message on the Mozilla Add-ons site.
When the extension is no longer available because if was removed then you cannot install and must look for a replacement or try to find the developer's Web site to see if the extension is still available there.
-
How can I find an original document that has been replace by another accident on Windows HP
I accidentally recorded and answered Yes to the box that says "you want to replace the original by this file. It was the wrong file and now I can't get the original document. I try the search function and can't find the original file, I created and spent 4 hurs edition yesterday.
Can anyone help!
I don't know what is Windows HP, but I'll give you the answer that applies if you hear a version of Vista (and some or most of it except the links and snapshot procedures apply to XP as well).
If it's a Word document, see the following article: http://support.microsoft.com/kb/316951 that applies to situations exactly like this. It is not impossible, but it is difficult and the chances of success are not very good - but it's worth a try.
If you have Vista Business, Vista Ultimate or Vista Enterprise, you can be lucky. They have so-called saves shadow copies, which are deleted or modified files that can be recovered in case changes/deletions made by mistake. http://www.Microsoft.com/Windows/Windows-Vista/features/shadow-copy.aspx more information about how to use this feature to: http://blogs.techrepublic.com.com/howdoi/?p=145.
If you have Vista Basic or Premium of Vista, shadow copies is not available; However, there is an alternative that is free and the shadow copies feature called Shadow Explorer. http://www.howtogeek.com/howto/windows-vista/recover-files-with-shadow-copies-on-any-version-of-windows-vista/. Although it will not help you this time, it could very well save you in case this happens again.
If it's a Word document and the procedure above does not work, please post in the Forum Word to: http://social.answers.microsoft.com/Forums/en-US/wordcreate/threads where they can have some alternative suggestions. If it's another program, please identify the program so I can provide advice or references.
Only you can decide if the data is important enough to take the PC to an expert data recovery to recover files (they will have better programs and hardware to do that none of us do). Do NOT go to the Geek Squad or one of these centers of store-, they generally don't know what they are doing - it take for expert data recovery. It will cost you a little and they generally offer no guarantees. The decision is yours.
I hope this helps.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
How can I start accessing a site that has a "remote XUL?
My college gave me an e-mail account, but when I try to access it, the site says: remote XUL; This page uses unsupported technology that is no longer available by default in Firefox (please contact the website owners to inform them of this problem). However, when I try to access my account on my mother's computer, it works. How can I get on my computer?
https://developer.Mozilla.org/en/using_remote_xul
https://addons.Mozilla.org/en-us/Firefox/addon/remote-XUL-Manager/ -
Hello
So, I recorded about 40 slides of movie without realizing account than the speed needed adjustment on the projector. Then the audio sounds fast enough. I was wondering how can I slow down a bit without making a sound too slowly? I tried to adapt it to the FCP with the c case, but it make it too slow and makes it still the audio sound like chipmunks. I want to set the audio where it seems normal. I could get out of the video and adjust it in audacity, but I won't do that because then it will take me an eternity to align to the clip in FCP and even then it may not work right. I have attached a small clip for you all to see what I need assistance.
http://expirebox.com/download/c398dc60df2942d5430084f3f7423f96.html
Help, please! I thank in advance.
FCP 10.2.3
If you disable in the drop c, keep Pitch, you should lose the chipmunk effect.
Russ
-
How can I change my phone number that has been registered in iCloud?
How can I change my phone number in iCloud?
See if that helps - linking your iPhone number and Apple ID to use iMessage and FaceTime - Apple Support
-
How can I retrieve my documents content that has been removed by a virus?
original title: how DO I GET inside MY DOCUMENTS, PHOTOS AND PROGRAMS what has BEEN REMOVED BY a VIRUS?HOW CAN I RETRIEVE MY DOCUMENTS. MOVIES AND PROGRAMS THAT HAS BEEN REMOVED BY A VIRUS?
HelloYou can read the articles below and check if that helps.
How to recover a lost Word document
http://support.Microsoft.com/kb/316951How to recover a lost in Word 2007 or Word 2003 file
http://support.Microsoft.com/kb/827099I hope this helps. -
How can I insert a CSV file that has empty fields? (Some fields must be empty) CS4
Hey, it's the first time I did a data merge in InDesign. I'm trying to insert a list of addresses that often has blank fields in it. The fields are empty because some fields are not relevant for some people (i.e. some of the people do not have cell phones have no other email addresses) so these people would obviously leave these empty. The problem is when I make a data merge that I thought that the CSV file will not import because some fields are empty. I don't know why InDesign tells me this, or some fields are empty they are not relevant for this person. Is someone can you please tell me how I can work around this problem?
Sounds more like you have an empty cell in the column header line, but there is data that columns somewhere below...
-
BlackBerry Smartphones how can I see a calendar item that has been in my backup
I did a full backup at home of my 8330 with BB Desktop Software a week ago.
But I accidentally left my phone in the office and may not recover until Monday.
I need data in a diary entry in the backup. How can I see it? I do not have Outlook or Office.I don't know where to start.
Set to false.
There are tools for this on Download.com
It was given to me here: http://supportforums.blackberry.com/t5/BlackBerry-Desktop-Software/How-can-I-see-a-calendar-item-tha... -
How can I create a custom button to format the table borders?
I often paste to Excel in a message e and would like a button or a context menu for the PROPERTIES of TABLE FORMAT it takes 2-3 clicks each time to access. Is there such a thing? I searched the Add-ons nothing helps. There may be a change in config I can do which would have the table to stick with borders already in place (I have to change the thickness of the border on '1' each and every time that she missed to '0' - maybe there is a place to have it by default on '1'?)
I have attached a picture of the menu on that I wonder.
I don't know of a setting for this...
It would be easier to click on, but based on underscores bit indicating the keys Accelerator, the keyboard sequence would be:
- ALT + o b o
- ALT o b o
-
How can I open a purchase order that has been closed for a reception
have a couple IN. that tolerance was set to 100%, while they were closed for the reception following the approval. How to open them again please.Thank you, Scott
Hello
Please follow the steps below:
1. go to the purchase of Super User RESP > orders > purchase order summary
2 ask the PO you want to open
3. click on tools > control and choose "Open to receive.
This will open all the lines if you wanty to open a specific line press the button lines and click Tools > control
You can also open by shipping as well by pressing the Send button by clicking Tools > control
Hope this helps,
Please mark responds 'Proper' or 'Useful', as appropriate, to facilitate solutions to the other participants in the community
-
I tried to connect my iPhone 6 with the latest iOS with the bluetooth in my car.
Previously, he managed, but due to problems matching, I clicked on "forget this device" to try to solve this problem, but now my iPhone doesn't recognize my car bluetooth connection. My car well that still connects to devices of others, is not about my car, it's the phone.
Please help me, it has been like that for months and I would like to plug not only for music, but if I can answer the phone calls safely while driving.
Advice or tips would be great. I've tried almost everything!
Much appreciated,
Sarah M.
HI Sarah...
See if there is something that you haven't tried here > get help to connect your iPhone, iPad or iPod touch with your car radio - Apple Support
-
How can I configure my emails so that they become reading this article from the click on them
As soon as I click on an email he becomes read. I know that you can change the amount of time before that happens, but I can not find where to change this time. Can anyone help
'Tools' > 'Options' > 'View' > 'Advanced' tab
or
'Icon menu' > 'Options' > 'Options' > 'View' > 'Advanced' tabSelect: "automatically mark messages as read.
Select: 'after posting for xx seconds.
where you need to select the number of seconds.
Click on 'OK '. -
How can I delete an e-mail that has been saved in the docs of Windows 7
I save certain emails like "and now want to remove the files that they have been saved in. When I right click the deletion of the word is not highlighted. I can copy these files and move elsewhere just cannot them permanently delete the.
http://thunderbirdtweaks.blogspot.com.au/2011/10/cant-delete-eml-files.html My original post was corrected by those who knew her more, read the comments and correction of your files.
Maybe you are looking for
-
26 of Firefox does not load the home page. Instead, it load the previous session, regardless of what has been entered in 'Options '. The browser runs in Win 7.0 64 bit; Norton Internet Suite 21 provides security features. There are some solutions 'cl
-
Firefox Sync has set the wrong device
Today I was installing Firefox Sync, but apparently I have synced the wrong way - the bookmarks from my mobile device has replaced (and remove) bookmarks in my computer! How to cancel this last sync so I can get my information from office? How can I
-
Microsoft has released a patch missed for DPM in July that breaks the ability of DPM to remove older restore points. My server is invaded by the recovery points and I would like to address them. Failed to remove the bad fix, update rollup 7 for SC DP
-
Your desktop at a yard sale began it, I bought my 10-year-old. its an xp. TBH, I don't really know anything to their subject either. Anyway, she got into trouble, and as one of the punishments, I decided to change his password. She is NOT an administ
-
List of e-mail addresses hijacked?
For the last 3 days my PC sends emails to everyone in my address list unitl it reached a daily limit. I tried 3 different security scans and nothing has shown up or stopped happening. What should I try next?