extension textfied
Hello
I have a textfield of a certain fixed size, but I want the user to be enter the text that will be probably larger than the size of the textfield (e.g. e-mail address). How do get you this text to fit in the textfield without increasing the size of the field? For example, I want it works the same way as entering a url in a browser that is larger that the url field works. How to achieve this?
Thank you
Somewhere on this forum are a few solutions to your own domain. It's the solution that I use (in the forum).
package com.smartmech.bb; import net.rim.device.api.ui.Graphics; import net.rim.device.api.ui.Manager; import net.rim.device.api.ui.component.EditField; import net.rim.device.api.ui.container.VerticalFieldManager; //Fixed width/height scrollable text field public class TextBoxField extends VerticalFieldManager { //define some variables to be used //in the class private int managerWidth; private int managerHeight; private EditField editField; public TextBoxField(int width, int height) { super(Manager.NO_VERTICAL_SCROLL); managerWidth = width; managerHeight = height; VerticalFieldManager vfm = new VerticalFieldManager (Manager.VERTICAL_SCROLL); editField = new EditField(){ public void paint(Graphics g) { getManager().invalidate(); super.paint(g); } }; vfm.add(editField); add(vfm); } //TextBoxField public void paint(Graphics g) { super.paint(g); g.drawRect(0, 0, getWidth(), getHeight()); } public void sublayout(int width, int height) { if (managerWidth == 0) { managerWidth = width; } if (managerHeight == 0) { managerHeight = height; } super.sublayout(managerWidth, managerHeight); setExtent(managerWidth,managerHeight); } public String getText() { return editField.getText(); } public void setText(String text) { editField.setText(text); } } //TextBoxField
You will have to tweak it to scroll the opposite effect.
Tags: BlackBerry Developers
Similar Questions
-
I need to know how to read my DVDs on quick time with an extension xvid.avi
I need to know how to read my DVDs on quick time with an extension xvid.avi
You have not because QuickTime Player does not support the xvid .avi formats or dvi. You can download the free VLC media player and she plays very well this .avi.
-
Valid extension for tech research Safari 1.0
Can someone tell me if 'Search Tech 1.0' is an extension of Apple's Safari? What is adware any that was installed?
Thank you
I can't find using Extensions Safari/Safari. This looks like an extension that will be hi-jack your engine of choice, research and direct them to another search engine. It is perhaps the one that directs you to the Yahoo search engine.
-
What is the msg in the preferences of Safari extensions, after installation?
Mine has changed dramatically and I was wondering...
10 Safari macOS Sierra 10.12
When an extension is installed, this is what looks like the extension of the Safari preferences pane.
Check the box next to the extension name to allow.
Activate the extension and click on the "Uninstall" button to uninstall it.
-
How to export to maintain the extension of the PDF
When I export to PDF of Pages (5.6.2), there is no option to show or hide the extension of the Ang, given that in many applications. But he still has the name of the file:
BUT, when I see the file in the Finder, the extension is hidden, and then I have to use Get Info to reveal again. Argh!
Is it possible to have Pages actually save the file with the extension, for real? I am on OS 10.11.6.
Open finder preferences.
Go to the "Advanced" tab
Check show all filename extensions
It will help you.
-
Safari extension store question, links to the developers site
For example, when trying to download LastPass extension via the link on the LastPass website, the link on the Safari extension store simply links to the page that I was right (site LastPass) who took me in the extension Safari store. In this case for other extensions as well and the links that used to be to download the file extension just takes back us to the site Web of the developer and the cycle continues. I just started to notice this in Safari 10.0, but I don't think it's a software problem, rather a problem with the extension store itself. I was wondering why this could happen.
The site https://safari-extensions.apple.com/ works as I clicked install now button "LastPass" and the extension has been installed without problem on Safari v10.0... Sierra10.12, I hope that his place and running@7:09 pm EST
-
Installation of Safari 10 Extensions?
How to install extensions in Safari 10-Sierra de MacOS?
In Safari, when I go on Safari / Extensions Safari in the menus, it drops me in the web page of the Safari Extensions Gallery where I can browse extensions. However, I can't install anything because there is no links or buttons to do so. Is at the top of the page say the Gallery of extensions designed for work on Safari 9.0. What is Safari 10?
You see the links in the screenshot below? If this isn't the case, please read If Safari does not load a page or Web page elements are missing - Apple Support.
-
CarPlay &; numbers with Extensions
Hi all
I have a question calling the phone numbers with extensions when connected to CarPlay. I have a lot of contacts with the extensions and phone numbers include a break and post numbers. Normally when you call these numbers using the phone only, or when you use a Bluetooth headset or Bluetooth in the car, the call connects, then composed the extension correctly to end the call.
When I am connected to CarPlay and make the call through CarPlay, the call connects, but it is not dial and connect to the extension correctly. I even tried to add extra breaks, but it still does not work. Anyone else having this problem and have a solution?
At this point, my only option is to disconnect the connection of lightning to CarPlay, wait for the phone to connect to the Bluetooth in the car, and then make the call using Bluetooth. It defeats the purpose of having CarPlay first.
I use CarPlay in a Honda Accord from 2016 with an iPhone 7 running IOS 10. I had the same problem with my iPhone 6 s 9 IOS running.
Update: genius of Apple confirmed this bug and asked newspapers to this question that I downloaded. If all goes well, they will have a fix in a future version of IOS 10. I'll give another update when I hear anything.
-
I El capitan, but stopped opening safari says impossible to find something wrong with the application extension
You can open it by accessing it in the Applications folder? If so, you may have a corrupt Dock alias. Click and hold the alias and make it about 1 inch away from the docking station, then release. Then drag the application in the Applications folder in the Dock to create a new alias. When you have a new alias, control - click/Options/keep in Dock.
-
Unmasking the exported files file name extension
Hello
When you export a Pages (PDF, DOCX...) file (.pdf, .docx...) file name extension is hidden automatically, even if it appears in the file save dialog box. As it is for most of the files that will be sent to the employees on a PC, see the file extension name is very important.
Is it possible to force Pages to let these visible extensions?
Thank you!
Paolo
It belongs to your PC users own parameters so they have file extensions or not.
On a Mac, just select the file and Get Info (command I) then check the box show the file extension .
There is also a checkbox in the Save dialog to show or hide the extension.
Peter
-
Mac adds the extension txt for dat files
Hello
I download the files with the extension dat but when are already downloaded I see another extension txt (F4409.dat.txt). I need to use dat files in another program and convert my file to text file prevents me to do. I would like to block the conversion of files without my approval on my mac. Remove the additional extension (.txt) does not help. I still can't use file in a program that I need for analysis of the data. Help, please.
AS
Download from which site?
Download of what app (a browser)?
-
I'm trying to launch an app on the app store for mac. The bundle of the main application and everything inside it is on sandbox.
The main application Bundle identifier is
com.xxx.core.app
. The identifier for the internal Plugin Finder Extension application Bundle iscom.xxx.core.app.extensions
.Now the problem is the extension inner finder is also available in sand and trying to read a file written by the main application.
The main application writes the file location depending on mac OS X, for example temp
/var/folder/jv11743453495593/T/com.xxx.core.app
But the internal Plugins try to read
/var/folder/jv11743453495593/T/com.xxx.core.app/extensions
Because of the different bundle identifiers, they have different containers.
Can someone let me know how to limit the same application and its plugins to the same folder location. Does perform a work around for this problem.
Hello yuktikapahwa,
See the Sandbox Apple Guide under the ApplicationDirectory group container
You must create a group that your container can access. I'm not 100% certain that this will work with extensions of Finder, but it seems the most logical place to start.
-
files without extensions - executable file unix
We have difficulties to view some files on our server with a Macbook Pro, we just bought El Capitan running. Files with missing extensions show as the Unix executables and slashes in the name show as if they have been renamed. This only happens on this particular laptop. We have other MacBook Pro and iMac running El Capitan and previous OS which do not have this problem. Anyone have any idea why this would be be happing in just this one computer and is there a solution?
Not sure if it helps, I have a folder on the server that contained files without extensions with another computer and copied to the Macbook Pro, which is to have these zipped questions and files display properly.
This protocol you are using to connect to the file share on the server?
What did you expect to happen when you work with these files?
What really happened when you work with these files?
-
min displayport - UK extension cable
Hi guys,.
I need a cable Extension Mini DisplayPort for my Mac Pro 2009 and Cinema Display 24 "so I can move my turn more away from the screen.
Can someone please recommend a good cable to the United Kingdom as Apple do not have their own extension cable.
Thank you
I haven't used one of these types of extension cables, but found that-
https://www.Amazon.co.UK/NEET®-DisplayPort-Extension-female-display/dp/B002SL34U 2.
-
2016 security-01 for 10.11.6 updating removes extensions?
Hello
I just installed 2016 update security-01 for OS X 10.11.6 El Capitan on the App Store on my MBP 17 ". Everything seems to be fine; However, some Extensions (-> System Preferences |) Extensions) seem to have been deleted. Specifically, the third extension of Finder ownCloud and extensions today are missing.
On my MBP 13 "I installed the same level of security to date without encountering these problems. There is not much difference between the software on both machines. BitDefender Antivirus for Mac is running on both, but Little Snitch is only installed on the affected machine.
I tried to reinstall the desktop client ownCloud in order to obtain the extension of Finder back, but that didn't work. Or download the update of security on Apple's site and install it.
Everyone knows about these problems? If this is not the case, how can I recover at least the extensions today? On the computer on which the security update installed successfully for reminders, calendar, Stocks, and weather conditions are checked and iTunes, clock, calculator, social and find my friends aren't.
I solved this problem by using the information found in another thread. This has to do with the Protection of the integrity of system of El Capitan. It should be disabled to allow extensions to load. Subsequently, it must be activated again. The steps:
1. start in recovery mode by pressing CMD + R during startup until the ringing is heard.
2. once in recovery mode, open a Terminal session.
3. Enter the command 'csrutil disable.
4 restart the computer.
5. check that the extension has been requested.
6. close, then once more start in recovery mode.
7. Enter the "enable csrutil" command
8 restart the computer.
I don't know why a MBP tripped over SIP, while the other apparently didn't, but the steps above seem to solve the problem.
Maybe you are looking for
-
Satellite A100 - 147 Compression file error with the product recovery disc
I have Toshiba A100-147, just out of warranty. I tried to recover with a disk, disk unpack to 69% and then I get the message "ERROR READING OF COMPRESSION FILE (1). I have no choice but to click OK in the error message box, and then quit the recovery
-
Aspire R5-57TIG display problems
I recently bought an Acer Aspire R5 57TIG of Best Buy the other day and it is perfect. However, it seems as if it seems to be a slight problem with the display/chart on this laptop drivers. It's subtle, but I noticed some problems in pixels; so far o
-
The media is disconnected on my computer, how do I re - connect.
I went to get online the other day, and the icon in the task bar said I had little of no connectivity, and could not be able to access the internet. I can with my laptop wireless via the router with no problems, but not in my office.
-
Please help, I am trying to set up wireless and can not find the place to put the usb cable to the printer. Thank you!
-
Cannot open my saved Movie Maker!
I worked on a film for weeks, save that I will. Now, I try to open again to finish, and a box will appear indicating that another user is open on this computer. But it's not. How can I open it?