Non editable field change to highlight the problem
Hi all
I have an edit non editable field in my screen. In order to make the difference between editable and non editable field, I put the bottom of the field cannot be changed to light gray as in the code below:
Border nonEditableBorder=BorderFactory.createRoundedBorder(new XYEdges(5, 5, 5, 5),Color.LIGHTGRAY,Border.STYLE_FILLED|Border.STYLE_TRANSPARENT); EditField textField=new EditField(EditField.NO_NEWLINE|EditField.FOCUSABLE|DrawStyle.RIGHT); textField.setBorder(nonEditableBorder);
Now the field cannot be changed when I scroll the wheel to the right or left the text gets highlighted in white as shown in the image below:
I don't want the text to highlight. Can anyone help me please with this. Thanks in advance.
Kind regards
S.A.Norton Stanley
Hello
Thank you. Overridding method drawFocus() and nothing doing, emphasis has been disabled on the fields and the white highlight was not. But once I reached the first or the last field of the white selection screen gets drawn again. But the border I also assign the background of the field edit as shown below, and this solved my problem.
Background bgNonEditable = BackgroundFactory.createSolidBackground(Color.LIGHTGRAY); textField.setBackground(bgNonEditable);
Tags: BlackBerry Developers
Similar Questions
-
How to make Non editable fields in Web ADI
Hi all
Can you please let me know how we can make the Non editable fields in Web ADI?
Thank you
AnilDear Anil
You define fields don't read that in the page layout.
Concerning
Giuseppe -
Has had a phone call saying that my computer has sent warning messages. They want to guide me through the changes to stop the problem. Is it a scam?
It's a scam. Give them nothing.
Contact your local police. -
Custom field highlighting the problem
Hello
I have a custom field class that extends the field. the custom class allows me to put a photo inside the field. The problem I have is when I give him a click event, it accentuates not.
I overrided onUnfocus() drawFocus() onFocus() and object;
I tried to use super.drawFocus () inside the drawFocus(), tried to use drawHighlightRegion with HIGHLIGHT_SELECT and HIGHLIGHT_FOCUS but no luck.
Anyone know what I need to do to give hightlight when the user touches the screen, or click?
OK, so as I said in the previous post, you can paint the blue highlight, but your bitmap image will then paint over clear tones.
So that the nail is visible, you must set a fill around the bitmap. In other works, the measurement of field must be slightly larger than the size of the bitmap.
You the best solution would have been to extend BitmapField (rather than field) and use the setSpace() method to set some padding.
Otherwise, you will need to adjust the measurement of field in your replacement of subLayout().
-
Edit field change notify pop up
Hello
How to avoid the pop-up screen which appears when editing field does not appear in the screen
How to avoid this pop up screen?
Thanku
Add this to your screen:
/*
* Override to ignore the save/discard/Cancel dialog box
*/
public boolean onSavePrompt() {}
Returns true;
}Not wanting to be rude, but I recommend looking in the forum before asking the question. This question has been asked and answered several times in the past and I suspect you would have found if you had looked. Ok?
-
Dynamic text field changes color but the bullets are not html text.
I am tarea to use a dynamic text field to shoot in the html text that contains a bulleted list. Easy enough, that works. But don't take the balls on the color assigned to the field. I tried to put in the html text and also using NewTextFormat and no work. Someone can help me. This should be a simple solution, but I'm not... I want my text and bullets to both be white.
Simple code below. Using html text inside the document flash and presence of a PivotTable field on the screen named txt. Code should turn text and green balls, but it does not work, only the text goes green
This.txt.html = true;
var my_fmt:TextFormat = new TextFormat();
my_fmt. Color = 0x00FF00; hexadecimal value corresponding to greenthis.txt.htmlText = "< P > This is the first paragraph < /P > < BR > < UL > < LI > Bullet 1 < /LI > < LI > < BR > Bullet 2 < /LI > < LI > < BR > Bullet 3 < /LI > < LI > < BR > Bullet 4 < /LI > < LI > < BR > Bullet 5 < /LI > < /UL >";
this.txt.setTextFormat (my_fmt);Thanks for any help you can give me.
works for me:
create a new fla and add a textfield, the name of your instance and copy/paste the code that I have proposed. any problem?
-
BlackBerry smartphones can not set the homepage on the Bold 9700, non editable field
When I followed the instructions to reset the home page of the browser to the URL of my choice, I'm stuck. It says choose Options, Configuration of the browser, and then type a new URL in the Home Page field. Seems pretty easy. But this field is not editable. It is stuck on the first URL I've ever used on the device.
Any ideas, anyone?
Well, tweak, I tripped on the fix. In the right corner is a field indicating the browser that you are cinfiguring. If If you launched Setup breast to Internet, then it is already set to 'Internet browser' of course. However, change to something else temporarily (for example, MediaNet), then again the browser Internet... Presto! The URL of the homepage field becomes editable - and also a 'current user' button appears to exist. Hooray!
-
Table of contents to highlight the problem
Hello
I use RH8.0.2.
When I click on the text of the hyperlink it navigate to the correct page, but in the content of the table of contents section that appears is not highlighted. Then there's the page where he was selected remains highlighted.
For example: as in Fig1, if I click on the "TMD PDU" it navigate to the page on the right as in Fig. 2, but fake 'E - UTRA RLC Messages Overview' remains enabled. Ideally in TOC "TDG PDU" page should be highlighted.
How to solve this problem?
Fig1
Thank you and best regards,
Rahul
Hi Rahul
There are a few things you need to check here. I will assume from the images, you create the CHM files.
First, open the project set-up pod and expand the Windows folder. Change the properties of your CHM window, and then make sure that the option to synchronize the table of contents has been activated.
Once you've done that, change the properties of single Source available and click the change... button. This should open another dialog box where you must click on the Styles tab OCD make sure you check the option always show selection .
See you soon... Rick
Useful and practical links
Wish to RoboHelp form/Bug report form
Begin to learn RoboHelp HTML 7 or 8 times now - $24.95!
-
I put a theme on igoogle - but it seems now to be integrated into my firefox because it is behind the url box, behind the bar at the bottom of the page and bookmark tab. How can I get rid of him. I always change themes, but they remain on the google page, as they should. This has nothing to do with my screen saver and my fund screens - they are different and ok - seems to be stuck in Firefox in particular.
This has happened
Each time Firefox opened
is a month when I changed themes on google
I got it! Thanks - I thought about it. I didn't know there were Add-ons for the themes! Continued to search did the trick - that and ask...
Thanks to you all -
To highlight the problem of update 15.2.1 for Android.
I was very happy user of Adobe Reader for Android till yesterday. After update to 15.2.1 you ruined my life. I can't emphasize more. I'm trying to just tap tap text and nothing... You will set for me?
Hello
This problem has been fixed in our latest update. Could you please update the Adobe Reader application and confirm that it works well for you now?
Thank you
Adobe Acrobat team
-
Impossible to go to the schedule page w/o editable fields in 11.4 WipEdit plugin?
When you use an older version of the Plugin, we can go to a 2nd or 3rd page attached, even if there is no editable fields there.
With the new Plugin (11.4), we can not. If we put a dummy editable fields on this subject, we can go at it. Otherwise, we cannot.
I'm looking through the 'Interface control' for interface WIPEdit in the SDI 2.2 guide. I don't know if there is anything here that can help me.
Thoughts? Ideas? Thank you!By default, forms that are not marked for entry and even the pages within a registration form that have really not all user input fields are deleted. Normally, this behavior is controlled by the combination of different INI options. The wider is
DisplayPrintOnly = Yes. This option tells to load all pages regardless of the entry fields. There is also another DisplayAllEntryFormPages = Yes, that will show you all the pages score for entry, even if there is no field here. If you do not use the DisplayPrintOnly = Yes, you still wouldn't see form pages to PrintOnly you might have defined. Published by: user9976634 on April 9, 2012 05:47
-
Cannot save PDF files that are editable fields
I'm unable to save forms that have editable fields. I get the error "the document could not be saved. The disc you saved or the disk used for temporary files is full. "Free up space on the disk and try again or save to a different disk.
I am running windows xp, and began with Player 10.1.4 having this problem now, I upgraded to 11 and same results. My colleagues can save the same shape and I have over 80 GB of free space on my hard drive, which is where I am saving it to. I tried saving it to other locations on my drive hard but get the same message. However, I can save the pdf files that have no form to complete in them very well.
I could really use some help.
Thank you
Figured out prtected mode has been set to enabled at startup. Turned off power and no more than problems.
-
Hello
In a container a non editable field seeds page. Now, I have to do this editable field using CO extension. Pls let me know the field code.
Thanks in advance,
Roxanne.Hello
Before leaving for trying to CO Extension reach through customization. Check the read-only & Disabled property. setting this property to True/False mite fullfill your requirement.
If this isn't the case, then go-CO Extension.
Kind regards
GYAN -
..... It is not as easy as you think, either! I am not a novice, but I can't understand how to solve this problem! If I try to move the copy or rename them, Windows XP said 'Impossible. Access denied. Even the disk is not full or write protected and the file is not in use." Well NO, the hard disk is NOT write protected and far from complete. No other files in "My Documents", or if otherwise, give me problems. In addition, the files themselves are not protected in writing! They don't have ANY special attributes (IE. 'Read only' and 'Hidden' are NOT defined). Needless to say, I did not define all attributes on them myself, they are not in a shared folder, and I am the administrator of my own computer. When I restarted the computer the next day, it changes nothing! The problem with these particular files remained!
I was able to move, rename, or delete only with UNLOCKER. But it's not my problem. My problem is when I try to burn any program I use, burns keep in check the end and I keep losing DVD - R, one after the other! I understood the reason for the failures of engraving is because of this problem of reading / writing weird with the files! WINDOWS XP created this write protect it somehow, because he wasn't on the original files! However, this limited access status is invisible! There is no set special attributes on these files!
They are just media files, I downloaded, as well as text files (FIVE files different, slightly different formats, ALL from different sources!). They have been downloaded to FIVE different subfolders created in 'My Documents'. And it's not just the affected media files. It's all the files that are in the same folders (ie. txt, jpg) (even if I can at least open the jpg, while I can't read multimedia files). I've never had this problem with any other similar files downloaded in the same folder. These files are NOT protected by copyright, OR infected by viruses, AND I do not have the virus on my system. (I stopped Kaspersky, my virus program, but it made no difference. "So there was no lock file). Yet, I can play is no longer the files (so that I could before the etc..). VLC says "cannot open the file", WMP says similar. I created a new folder in My Documents, moved to the new folder with UNLOCKER, it made no difference! Same problem! Even using UNLOCKER to transfer them to the desktop, not in any folder in itself does not change a thing! Here is another beauty: software "UnlockIT" says "the file is not locked by any conducted! I have to be to imagine...
... This whole thing really made me realize how Microsoft Windows helps my carpal syndrome problem...
Hey PieterVO,
I've seen this in a few other threads before. Although I don't have a FixIt for you, I have a few discussions to look over.I would like you to try to take possession of the individual files that you work with and try again. I didn't see the error codes listed above, so if you get the error codes, please report it to their.See Kieron June 9 Post and post Stickywulf November 14 in the second thread I listed above.Give those a try and let us know the results. I hope this helps. Thank you! -
I lost all the sound elements of the vista Media Center! How can I fix the problem?
I have vista Home premium op sys and my media center windows lost audio output. Wheather read files from my hard drive or a DVD. mEDIA PLAYER has SOUND BUT NOT MEDIA CENTER. How can I fix the problem?
Hello- What were the changes made before the problem occurred?
You can check this link:
Maybe you are looking for
-
I can't update my Firefox. It is stuck at version 2.0
I can't update my firefox like it is stuck on version 2.0.Went to the Firefox Addon page and the detected page my firefox version 2.0. I tried to uninstall my firefox and reinstall (with a more recent version), but it is still detected as Version 2.0
-
Hello I mean 1 TCP read error. I get this error since I created a listening TCP port. My Vi has worked when I was not the TCP listner IE just had the TCP open instead of the listner. On checking, the connection Id is even probes 10, 11, 12, 13, 14 Th
-
Please I want to re - install windows xp on my laptop but I don't have the resource cd. only I have the key to product label I can do?
-
Error message when I try to "Set up the home network" or some other things I try to do. It is the system32 file rundll.exe or that my computer can not find.
-
BlackBerry smartphones find model OK
Hi all Today, I have a problem with my BB. My bb Box say my phone is Storm 2. But when I go and check in my BB (Option > on) say ' Blackberry (R) 9550... I am so confuse now. Can someone help me? Concerning Dan