Screens, backgrounds and Bitmaps

I'm still struglling with graphs and screens.  I thought that I understood.

I want to start by creating a new main screen, put the back on the ground in the dark, and then add a manager of vertical field with buttons custom on top of the background.  Finally, I would like to

change the background while the program is runing

Add a new screen and vertical field as a popup screen for my custom button Manager

But I need to cross first in the background.

ADDING A VERTICAL MANAGER WITH CUSTOM BUTTONS FIELD WORK, change the background doesn't work. Note that I caught the code directly from the knowledge base.  The background command make it past the build, but does nothing, I still have a white screen and the transparent parts of my selected button show in the background of the theme.

Screen is the screen or basic framework of the user of RIM interface class.
Display display = new MainScreen();
       
Add a field to the title area of the screen. The SELECTION option truncates the text of the label with «...» "If the text was
too long for the space available.
mainScreen.setTitle (new LabelField ("Test", LabelField.ELLIPSIS |)) LabelField.USE_ALL_WIDTH));

Background bg = BackgroundFactory.createSolidBackground (Color.BLACK);
mainScreen.setBackground (bg);

Add a vertical field Manager with fields of sample custom button.

VFM VerticalFieldManager = new VerticalFieldManager();
            
ONOFF button
OnOff = new CustomButtonField (CustomButtonField.ONOFF, Field.FOCUSABLE);
onoff.setChangeListener (this);
VFM. Add (onoff);

mainScreen.add (vfm);

We have completed the construction of our user interface objects. Push the screen
instance on the stack in the user interface for rendering.
pushScreen (mainScreen);

Any help is appreciated!

Thank you REXDOUG.

I was beginning to think it was a focus problem.  But what through me is that blue takes a place defined by the scope of the key.  Blue focus on the Blackberry keyboard seems to extend to the surrounding graphics. Finally, I would like to add the blue ring to my buttons, but the Blue will have to overlap the surrounding buttons, does not stop at the scope.  The focus indicator, I'm getting is THEREFORE unacceptable.

No worries if.  Time for me to BONE up on the focus and the blue (theme controlled) focus indicator.  If I can't understand, I will beg for help again.

I have this will mark it as resolved when I have a moment.

Tags: BlackBerry Developers

Similar Questions

  • video screen flickers and has a red background

    my hp laptop... when turned on the screen starts to Flash and the major background colr is red... when I do an update to the computer, usually it goes... but is only temporary.   anyone has a solution for this problem... I'm not familiar hat with this laptop and it is used

    Hello Shad0w,

    I understand that you declare the screen flickers and then turns red, is that correct? I will do everything I can to help with this problem.

    Can I please have the full brand and model of the computer you have? If you don't know how to find this information, take a look at this link for assistance.

    Please answer as soon as possible.

    Thank you

  • My screen background color has changed and it is difficult to see things clearly in Windows Explorer.

    screen background color

    My screen background color took a deep blue tint which is whenever I visit a Web site, or windows Explorer. Therefore, it is difficult to see clearly. All solutions?

    Hello Richardtopping

    Here is a list of steps to change not only the color of office, but the background as well. You can also view this information from the listed source here.

    Change your desktop background (wallpaper)

    Your wallpaper (also called wallpaper) can be a digital picture from your personal collection or one that comes with Windows. You can also select a color for your background or use a color to frame your background image.

     
    Windows comes with a lot of background choice of screen
    To change the wallpaper

    1. Open the wallpaper by clicking on the button start , by clicking on Control Panel, appearance and customization, personalization, and then clicking desktop wallpaper.

    2. Click on the image or color you want for your desktop background.

      If the image you want to use is not in the list of background images to display, click the location of the image downwards arrow to view other categories, or click Browse to find the picture on your computer. When you find the image of your choice, double-click it. It will become your desktop wallpaper and appear in the list of desktop backgrounds.

    1. Search for photos in other locations on your computer
    2. Under how the image must be positioned, choose to have the picture to fit the screen, tile, or being centered on the screen and then click OK.

    Note

    If you choose to have a picture centered as your wallpaper, you can also have a color background to frame your picture. Under How should be placed the image, click on change the background color, click a color, and then click OK.

    Tip

    You can make an image stored on your computer (or a picture you are currently viewing) your desktop background by right-clicking on the image, then click on set as wallpaper.

     
    Right click on an image to set it as the desktop background
  • To get the background and foreground color of the screen title

    Currently the title screen background color is black, and foreground color is white.

    But when we use custom theme then it can have different background and foreground colors.

    That's why I need to pick up the color of the screen title properties.

    How can I achieve this?

    Thank you

    I think you want to color your application according to the background and foreground color! Override the paint of the main method and use instance graphics for call getColor () and getBackgroundColor ()... Save it to integer variables and use it anywhere where you need...

    See you soon...

  • Lightroom 6 develop Mode.  Screen loupe and compare view after screen show blue background with two diagonal lines of tbrl top low right another top right at the intersection of criss left in the Center.  If I move to another photo, the program stops

    Lightroom 6 develop Mode.  Screen loupe and compare view after show blue background wallpaper with two diagonal lines left and top right side of the other top right at the crossroads criss left in the Center.  If I move to another photo, the program no longer works and ends by asking me to close the program. Help?

    Go to your Lightroom preferences, performance tab, uncheck the option of the graphics processor.

  • SAVE DESKTOP THEMES (BACKGROUND) AND SCREEN SAVER QUESTION!

    My machine (Dell Desk Top computer) came with everything that I bought with it and I don't have the disc of recovery as well, so, I was just wondering if you can please tell me if there is a way I can save the screen savers and the desktop themes (sets) that accompanies as some of them , or just for nice in the trash when I use the recovery disc (not the one that came with it that I purchased separately from Dell), because they will be gone forever when I do. I don't want to lose them, after that I'm doing the recovery. I would go to the workstation, click on (c :)) local folders on disk, Program Files or WINDOWS to locate their and if so how or is there an easier way to do this and if so, how?) Thank you!

    Hello

    OK, first of all visit C:\WINDOWS\Resources you will see a Themes folder, you should be able to right click on this folder, select copy and paste it on your desktop. It's your saved themes.

    Alternatively, you can try to find your screensavers by name in the search box. Screensavers in Windows normally have *.scr for if you find everything with different extensions these back up. Some screensavers have .exe extension, but this is a very common extension in Windows so you find your screensavers in between it will be hard. SceenSavers may extend installation directories, but normally you can right click and click 'Install' on screensavers to reinstall on a new operating system.

    When you find all your .bmp / .jpg Yes circles, you can just click on them and copy and paste them.

    Just take note where you have saved, so you can re-install on a reinstall.

  • Computer background and icons problem

    The background and the icons on the screen of my computer changed to offshore and the greatest by itself after the uninstall, it looks like a 'big boy' and very strange.  I don't know how to chang, this return to normal.  I would really appreciate if you can tell me how to do step by step.

    Thank you very much.

    Hello

    There are a number of things to try:

    see if changing the resolution of the screen, without updating the drivers graphics, work

    otherwise:

    go to your graphics card manufacturers site or computer and are looking for the driver download section

    Search your computer or graphics card model number based on what you have and download and install the latest graphics drivers for vista

    then try to make the screen of solution of problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution

    Change the screen resolution

    __________________________________________________________

    or try a restore of the system before this happened

    http://www.windowsvistauserguide.com/system_restore.htm

    If necessary do in safe mode

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode option with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.
  • Windows 7 full screen games and desktop applications losing focus and stealing discussion questions

    NOTE: The updates at the top of this announcement, the original message is less than.

    UPDATES: here are a few updates and new information that I have gained since the original publication.

    Registry settings

    After doing a lot of reading, I found some registry settings that appear to solve some of the problems I see. All three were found in HKEY_CURRENT_USER-> Panel-> Desktop

    ForegroundLockTimeout: Has been reset for some reason any. I removed the key and restarted, but he is back to zero. This is why I looked at the default value of 200000 (decimal) and set it. After that, he stayed. \

    I saw two other keys HungAppTimeout, WaitToKillServiceTimeout, and WaitToKillAppTimeout and all have been set to zero. I deleted these registered.

    I have no idea what set these registry keys to zero, but after being put into default, I can now click on an application full screen reduced, and he returned immediately. I can still lose focus in full screen or desktop app, but not as often as before and now he is usually just badly behaved apps stealing focus rather than seemingly random events.

    I wonder if there is a patch that has changed these values, or a settings option that does. From what I read, they are sometimes twisted to allow faster restart and stop servers.  I don't have a software that would be while and manually set their and none have the people I know. One of them has confirmed that their box also has these set values zero and has no idea why.

    I hope this information is useful to other people with odd focus problems.

    ORIGINAL POST FOLLOWS *.

    I have a problem in Windows 7, which at first I thought a number of different problems, but I am more convinced that they are all connected.

    All of them started to happen around the same time - late January or February after a Windows Update - and largely the same or very similar issues affect 3 of my friends and co-workers running Vista and 7. Unfortunately my notes on the update happened while the time are missing, but all 4 of us have seen questions start at the beginning of the year in the January/February calendar, which makes it seem like they should be linked.

    NOTE: There were a few minor problems before even with the update, but nothing like what happened in early 2011. I had problems to update with Vista and 7 alone, but they were rare and sometimes fixable with registry hacks or it was an offending program, something did not like Aero, etc..  The questions below got a lot worse in early 2011 so they appear together in this post.

    I will describe each problem separately and the affected BONE and the symptoms, and I hope that some can make sense and help me solve the problem. Major problems first, then a few small problems and measures that I took to the to check follow after. Sorry for the long post, but it's a maddening problem affecting many people, and I want to be as complete as possible.

    Games not switching and the apps full screen #1: if I'm in a game fullscreen and I go to the office, it is very difficult to go back. If I click on the taskbar icon, nothing happens. I have to click on it repeatedly, often a dozen times or more before the application full screen or game is restored. It is most often with the games. Full screen I don't want not maximized, I mean where a program takes the entire screen. Games is easier to reproduce so far have all I currently use the question and variances in how it is difficult to come back in full screen are not significant between them.

    Apps full screen #2 focus lost: this happens especially to my friend running Vista, when you play the game full screen. She will play something like the Lord of the Rings Online and she loses the keyboard focus and the mouse, but the game is always full screen. Usually the only way that she can solve the problem is to use CTRL-ALT-DEL to bring up the Task Manager, which for some reason solves the problem and she can return to the game for a little while that. I run Windows 7 with another couple of friends and we can also see this question, it is much less common. Changing an old mouse seems correct for Vista for some reason any. 7 that it happens rarely, if hard to duplicate to see if changing the mouse would help. In any case, will and against a beautiful new mouse laser mouse is usually a horrible option.

    Office applications #3 lose focus: it affects two of us under Vista and 7. We will be typing in chat, email, anything... and the foreground app will lose focus. What catches there that is impossible to determine. In my case, I can occasionally see a taskbar popup button and then disappear immediately, but I have never been able to track it down. Running in safe mode or boot seems to have no effect on this, or disable all services, extension and program but by default Microsoft in Windows 7 and Vista. Its almost like a Microsoft program is to do. Also, even though I mentioned the taskbar icon appears briefly from time to time, which cannot be bound: it does not always coincide with the loss of focus and is not always present when the focus is lost.

    #4 desktop applications lose keyboard focus and the mouse: it's like the number #2 above, but happens at the level of the office. Unlike the #3 that the window does not lose focus, it is always in the foreground, but keyboard and mouse stop working. It is usually impossible to move to another window. Just like #2, the solution that we have so far is to use CTRL-ALT-DEL to switch to the Task Manager, which temporarily solves the problem. ALT-tab through windows does not work.

    Here are other minor problems that may or may be linked, because they seemed too much to start with.

    Switching away applications full screen takes more time: Windows 7 on my machine, switching off games full screen takes more time than he did in the past. It was a minor issue in autumn 2010 and became much worse early 2011.

    Some windows lost focus while being re-size: if I take the corner of some windows for re - size, sometimes the re-size operation stops until I release the mouse button, as if he has lost the focus. Color of the window indicates usually focus however is still there, and grabbing the corner once again we will move me a little more. It may take several tries to get the window size as I want, as the re-size operation closes several times before I release the mouse button. This affects only 2 of the 4 people I talk so much that I can tell from our conversations and shared between Vista and 7. Both of us have Logitech mouse it might even be a driver problem, but using a mouse cheap test has not fixed the problem with me.

    Firefox: Firefox repeatedly will "dim", where Aero makes the window lose color to indicate that the application is not responding. It didn't happen before January 2011 for any version of Firefox.

    Concrete results to track down the problem:

    I ran programs like WhatHang and others who are trying to catch the programs that are suspended, stealing focus, etc.. Hours of testing found no results except that Firefox crashes frequently. Disable Firefox doesn't solve all the issues however, so I guess that its not related.

    I tried booting safe and clean, and they have had no effect. Secure boot is rather useless since I can not usually run programs that show the problem more easily. I also tried turning off everything except what comes with Windows 7, and it had no significant effect.

    I tried to use a different mouse. While it helped a bit with one of my friends, it only helped me so far. Different mouse drivers do not seem to help either. I also tried various nVidia without significant information acquired or corrective drivers.

    I also ran through various other ideas here as the race of the file system scanner and so on and not found any problems with my system, and where I could help my friends do and they also found nothing of note with maintenance and verification tools.

    My friends and co-workers: most of them are not local to me, so my focus of their issue has been rather limited. The main thing that we all have in common is that we had some minor problems in the past, as in 2010, and they've all got a lot worse in early 2011. Unfortunately none of us kept of records accurate enough to indicate any special updates that might have caused it.

    In any case, I apologize for the log message, but this issue emphasis is maddening. Its become a frustration serious then I thought to post information on the problems which seem related would be the more useful approach.

    I am a graduate of comp-sci systems and a companion systems programmer, and I have tried everything I can think of to debug and isolate problems, symptoms, etc. and had no chance. My friends are usually illiterate computer so that they are even more perplexed and frustrated by this problem. In my reading the forums, I see a lot of Windows Vista and 7 discussion questions, but rarely a lot of details, and when a problem is identified, it this far does not apply to me or my friends.

    I am happy to provide any other details I can.

    Updates:

    I forgot to mention that I have a Setup dual monitor. Aero seems unhappy with it, a lot of flicker when switching to full screen in games and other applications. I guess its because a single display off Aero while the other has it we or maybe not accelerated. Remove the second screen does not solve the problems I see, but I mention it in the interest of further development.

    I want to just chime in that I see similar (but not exactly the same) behavior and time seems to match as well. Among the updates must have messed something up. I forgot my Cardinal never update rule anything :/

    In any case, I have a few specific questions all problems related to full screen/window/input. When you play the Witcher, when you look at, if the mouse touches the edge of the screen, it stops, thus giving a very narrow range of angles I can watch from. Baldurs gate, as soon as I hit any key, I can't click on anything whether (and what I typed does not appear). Looking for police 3 (dosbox) it works fine until I hit a key, and then the mouse bounces oddly around the screen. If I alt - tab, in these 2 cases to last and go back, the problem is solved until I have a button again. In the case of the Witcher, if I alt tab and click the icon to the taskbar, it seems this problem, until I have a press.

    And I'm sure I had none of these problems a few months ago. I have tried everything I can think :( I tried the registry settings, but they do not seem to help.

    Edit: Oh, almost forgot. Whenever I click on full screen on an online video, like youtube, it appears in the background behind other windows, and then I have to click on it in the background to bring it forward. Very weird. Not sure if it's related. I'll try to change my video drivers... So boring when everything was working fine a few months ago.

    Edit 2: Do not take into account my post, I had a program called synergy race (usually use a mouse on multiple computers at the same time). Apparently, he was the problem.

  • an intermittent failure of screen saver and power off to turn on?

    Hello.

    Win 7 Desktop, unlike my laptop and other computers in Win 7, has a configuration screen saver and power who, sometimes, never active? I have checked the background process and doesn't understand why sometimes it works and other times that I have to reboot to get to kick. It still works after a reboot as long as I'm not using the computer. Sometimes when I use it, the screen saver setting and be able to turn on, sometimes not?

    Has anyone ever heard talk about this? What do you suggest me? Any help is greatly appreciated!

    Thanks a lot for all possible solutions.

    Sincerely,

    Miles

    P.S. I did a SFC/scannow and no problem not found. I also checked my Driver Lan properties to make sure that the box is unchecked to wake the computer.

    P.S.S. My computer is a Windows 7 Pro with an i5 3rd generation Intel 3.10 MHZ CPU with 16 GB of RAM DDR3 and SSD 1 TB hard drive.

    P.S.S.S. All drivers have been updated.

    Hi miles,

    I'm sorry for my late reply.

    You can try to uninstall and reinstall the driver for Inter since the Device Manager.

    1. Press Windows key + R.
    2. Type devmgmt.msc in the space provided, and press ENTER.
    3. Look for the Intel graphics driver installed (under cards.)
    4. Right-click on the Intel driver and click Uninstall.
    5. The option to delete the driver for this devicecheck box.
    6. Click OK and restart the computer.
    7. Reinstall the driver from the link provided in my previous answer.

    Please post back your results for assistance.

  • I try to get my screen background image fits my screen

    I try to get my screen background image fits my screen for some reason any that it just rained when I turned on my computer.   When I right click on my desktop screen a box comes up saying Windows Explorer has stopped working after another box appears telling me windows explore restarts then my desktop icons disappear and I have to do a right click to get them back I'm on windows 7 can you please help me

    Hello

    (1) have you made changes before the start of this issue?

    (2) do you attempt to configure a different image for your desktop?

    Method 1:

    Step 1: You can check if the same problem occurs in safe mode?

    Please follow the link on how to start the computer in SafeMode below.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2: Clean boot

    Put your boot system helps determine if third-party applications or startup items are causing the problem.

    How to set up Windows 7 to start in a "clean boot" State

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2: System File Checker

    System File Checker will try to help you in fixing all corrupted files and folders from the computer.

    Please click on the link below:

    http://support.Microsoft.com/kb/929833

    See also:

    Error: Windows Explorer has stopped working

    http://support.Microsoft.com/kb/2694911

    Let us know if that helps.

  • Screen background image will not stretch (or tile, etc.)

    I use the version of Windows 7 Home Premium 64 - bit OS and have set a custom as my screen background image.  It displays fine, but if I right-click on the desktop and go in 'Customize', then select 'Desktop Background' and use the drop-down "image Position" menu, select "Stretch" has no effect.  None of the other selections "image Position" has no effect, either.

    I put the photo as wallpaper the usual way, by right click on my photo in Adobe Photoshop Elements 10 and by selecting "use as wallpaper."
    It seems that something is too much on the selections of "image Position"... any ideas of what this could be?
    Thanks much for any help.

    Sounds like a problem to adobe.

    Delete files and re add it using windows / search and add the file to your my photos site. No photo shop album...

  • I want to change my lock screen background

    Customize active win8
    I'm not party to customize activated Windows 8. Please help me I want to change my lock screen background

    Hi erfaneslami,

    I think you're wanting to know how to change your lock screen (not having is not a problem, just want to know how)? If I misunderstood, I apologize but give money steps a shot and see if you can change your lock screen.

    Starting from the start screen , tap lock screen
    Select settings
    Select the lock screen

    From there, you will be able to change your lock screen.

    For more information about Windows 8, take a look at the information here.

    Thank you!

  • not able to change my lock screen background in windows 8

    I had a problem
    When I try to change my lock screen background, I get an error saying "setting of the lock screen has failed. Please try again ".

    Line 1: Locking error screen
    Line 2: Setting of the lock screen has failed. Please try again.

    pls help me solve the problem
    Concerning
    Bakele

    Hi Bakele,

    This occurs generally if there are changes that happened in group policy. I would suggest trying the following methods and check if it works for you.

    WIN8: How to handle the screen lock on Windows 8 and Windows Server 2012 Image:

    http://support.Microsoft.com/kb/2787100/en-us

    Please reply with the status of the issue, so that we can better help you.

  • I can do a photo my splash screen background?

    I tried to customize my splash screen background, but the photos he offers are not to my taste, and the only other option is my desktop image. Can I add a different picture to what I choose? If anyone knows if its possible and how do it, that would be great!

    Hello

    To support this possibility, you must first upgrade to Windows 8.1. Then, you set an image as the desktop background. Then, go to the Start screen, press the Windows key + I, choose Customize and click the desktop background, it has also become background splash screen. Or see:

    http://www.kapilarya.com/Tip-registry-trick-to-set-desktop-background-as-start-screen-background-in-Windows-8-1

    Hope this helps, good luck :)

  • Problem with the PrintJob background and default

    Hello, I have a problem with PrintJob - print in pdf format.

    I want to print bitmaps with transparency and vectors.

    I checked all the options and still have a gray background under the bitmaps and vectors. This is the background color from scene.

    It seems to me that flash is printing in bitmap mode no matter what I do.
    Anyone know how to print MovieClip/Bitmap without default background. I send to print bitmap/movieclip with transparency, but the output is always packed bitmap.

    var pj:PrintJob = new PrintJob();
    var sheets:MovieClip;// = new Sprite();
    var options:PrintJobOptions = new PrintJobOptions();
    options.printAsBitmap = false;
    var dodd:MovieClip = new MovieClip();
    stage.addChild(dodd);
    var pagesToPrint:uint = 0;
    if (pj.start()) {
        for (var i:int = 0; i < pages.length; i++)
        {
            sheets = new MovieClip();
            //sheets.graphics.beginFill(0xFF0000, 0);
            //sheets.graphics.beginBitmapFill(pages[i].getChildAt(0).bitmapData, null, false, true);
            /*sheets.graphics.lineStyle(0,0,0);
            sheets.graphics.drawRect(0, 0, pj.pageWidth, pj.pageHeight);
            sheets.graphics.endFill();*/
            sheets.addChild(pages[i]);
            dodd.addChild(sheets);
            try {
                pj.addPage(sheets, new Rectangle(0, 0, pj.pageWidth, pj.pageHeight) , options);
                pagesToPrint++;
            }
            catch(e:Error) {
                // do nothing
            }
        }
        if(pagesToPrint > 0) {
            pj.send();
        }
       
        while(dodd.numChildren>0){
            dodd.removeChildAt(0);
        }
        stage.removeChild(dodd);
        dodd = null;
       
    }
    
    

    using actionscript, create "pages" with a white background and content you want, and then print these new pages.

Maybe you are looking for

  • Why do some sites appear very small and unreadable?

    my gmail site and facebook are so small, I can't read also this page is also very small, I can't find a way to enlarge the pages

  • HP M127fw

    HP printers work on a 5 GHz wireless network? I have a new M127fw and my network is not listed in the list of networks. I have a double router broadband and I have a setup of network on the 2.4 GHz and the 5 GHz network. I have a printer on the netwo

  • Classic BlackBerry to classic BB Notepad

    I went from a 9700 venerable classic. Pretty smooth transfer of data across, but surprisingly the Notepad application that was the norm in all BB 9000 is absent from the BBClassic. I have a lot of info I want to transfer to the new phone and need hel

  • Keyboard for blackBerry Smartphones external (material) Playbook

    Is there an accessory external keyboard for the Playbook? The soft keyboard is ok when I'm traveling. But when I'm home or work from a hotel room, a hardware keyboard would be nice. Thank you George_B

  • NULL values in partition Table of Partition key

    Hi allI'm using Oracle 11.2.0.3.I can add a null value on partition of Partition table key.If so, how?Kind regards.