How to customize the Manager?

I'll have two fields in my HFM. How to customize this Manager as change color of background and positioning of these two fields?

u may not have added the title of Manager finally like that

This.Add (titleManager);

I don't care

Check this code

Hey Chk this Code

Display d;
MyManager()
{
CustomTitleManager titleManager = new CustomTitleManager (d.getWidth (), d.getHeight ());
Bitmap image = Bitmap.getBitmapResource ("xxx.png");
BitmapField myBitmapField = new BitmapField (image, Color.BLUE);
titleManager.add (myBitmapField);
titleManager.add (new LabelField ("Documents"));
This.Add (titleManager);

}

-----------------------------------------------------------------------------------------------

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

com package;

Import net.rim.device.api.ui.Color;
Import net.rim.device.api.ui.Field;
Import net.rim.device.api.ui.Graphics;
Import net.rim.device.api.ui.Manager;

/**
*
Rakesh * @author
*/
SerializableAttribute public class CustomTitleManager extends Manager
{
int width, height;
    
public CustomTitleManager (int a, int b).
{
Super (Manager.NO_HORIZONTAL_SCROLL);
Width = a;
Height = b;
}
   
protected void sublayout (int width, int height)
{
Field field;
int noOfFields = getFieldCount();
int x = 0;
int y = 0;
for (int i = 0; i)< nooffields;="">
{
field = getField (i);
setPositionChild (field, x + 10, y + 10);
layoutChild (field, width, height);
}
setExtent (Width, Height);
       
}
   
    
protected void paint (Graphics graphics)
{
graphics.setBackgroundColor (Color.LIGHTCORAL);
Graphics.Clear;
Super.Paint (Graphics);
}
 
}

Answer me as soon as u get it

Tags: BlackBerry Developers

Similar Questions

  • How to customize the context menu in the legend of plotting the graph of wave?

    I am currently on the creation of a simulation of various control loops as educational objectives. Here, I have a chart in waveform to different signals. Now my question, how to customize the context menu in the track of the Waveform graph legend => when I click on 'image' behind the Plotnames one menu to open options where you can customize the color etc. or plotwidth. But students should not have access to these settings. How can I change or disable this menu? The context menu for the waveform graph, I've already customized by right click on table of waveform-Advanced online-online menu, but for the legend of conspiracy, I have not found this setting...

    Thanks for your answers... I tried different things, but I don't see a solution yet :-(

    See you soon

    DCP

    Hi, STC,

    There have been a number of suggestions for change or disable the table , right-click menu, but I see that this does not affect the context menu of legend , which is what you ask for help with.

    To prevent completely the menu right-click to work, you must disable the chart control entirely. You can do this by double-clicking on the chart and select Advanced Options > active state > disabled. This will prevent the operator to be able to generate a menu right click on the chart control.

    If however you still wanted the table, make a right click menu to work, but the legend made a right-click menu will be disabled, I see two options:

    1. draw a classic decoration square on the legend and the transparent color. This will prevent the mouse clicks to achieve the legend, and transparent it will not interfere with your user interface appearance.

    2 use a Structure of the event to capture the event filter Popup Menu of Activation?  for the chart control. You can then use the Coords property to determine if the mouse is over the legend or not. If this is the case, send faithful away? right Terminal. It will refuse the context menu when the user clicks on the legend of the plot.

  • How to customize the ringtone in acer liquid z220?

    How to customize the ringtone in acer liquid z220?

    You must copy your ringtone (mp3 file is ok) in storage/internal or external storage/ringtones ringtones

    Then, go to settings / sound - phone ringtone

    your ringtone will appear and you can select

  • How to customize the windows download progress window

    How to customize the windows download progress window? (to show what files have been downloaded since the last clear)

    I didn't know that the window is a Firefox one.  Now I see how to reconfigure inside Firefox to fix my problem of 'the download since the last clear list' still being virgins.  Others have had the problem and Firefox has answers to this.

    Thanks for your help

  • How to customize the installation of 5.0 client

    Does anyone have a real document or for example on how to customize the installation MSI 5.0? Is it the same thing as 4.6 customizations? Same formats png? Because I don't see a vpnclient_en.msi in the default package.

    Thank you

    Dave

    The custom version of vpn client 5.0 Setup is the same since version 4.6. The vpn client package contains the "vpnclient_setup.msi" file that can be used for installation. The following link can help you

    http://www.Cisco.com/en/us/docs/security/vpn_client/cisco_vpn_client/vpn_client46/Administration/Guide/vcAch7.html

  • How to customize the interface user OBIEE 11.1.1.9.0

    Hi all

    I was wondering how to customize the user of OBIEE 11.1.1.9.0 interface.

    For earlier versions, there was a guide to go to different folders by default and exemplary, adjust and modify your HTML, CSS, or XML files.

    I was reading the new style/skin of skyros, but I can't find a guide how to customize this skin and style.

    The 11.1.1.9.0 version of OBIEE isn't the same folder structure as the 11.1.1.7.xx version (where you set the fusionfx or blafp styles and skins), so I'm a little lost around that.

    So someone has more information about the customization of skyros /11.1.1.9.0 styles and skins?

    Thanks in advance!

    There is this new (I think) doc who can help: https://docs.oracle.com/middleware/11119/biee/BIESG/answersconfigset.htm#BIESG9198

  • Muse Themes Mobile Menus - how to customize the classic accordion

    Can someone help me on how to customize the Menus in Muse themes Mobile - more precisely the classical accordion. Or direct me to a tutorial.

    Thank you very much in advance!

    This will help you:

    https://www.YouTube.com/watch?v=Thm8bsNccvI

    Thank you

    Sanjit

  • How to customize the server info in my contact form?  I'm the test in my localhost.  Thank you!

    How to customize the server info in my contact form?  I'm the test in my localhost.  Thank you!

    You can download the site with the form included in your server, and then test. If this does not answer your question, then please provide more details as to what exactly you want to customize?

    Thank you

    Sanjit

  • How to customize the expiration of session WARNING text messages?

    Jdev 11.1.1.4 ALICE BC & ADF Faces

    Requirement: How to customize the expiration of session WARNING text messages?

    I am able to assign the expiry warning time and session time-out period
    <context-param>     
    <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_TIMEOUT</param-name>     
    <param-value>300</param-value> 
    </context-param>
    
    <session-config>
        <session-timeout>6</session-timeout>
      </session-config> 
    I want to show a messge like
    ' your session will expire in XX minutes, do you want to continue? "
    Any help will be appreciated.

    ~ Abhijit

    These are other resource strings:

    ...
        {"af_document.PRE_SESSION_TIMEOUT_MSG", "This page will expire unless a response is received within {0} minutes. Click OK to prevent expiration."},
        {"af_document.PRE_SESSION_TIMEOUT_MSG_SECOND", "This page will expire unless a response is received within {0} seconds. Click OK to prevent expiration."},
        {"af_document.PRE_SESSION_TIMEOUT_CONFIRM_TITLE", "Expiration Warning"},
    ...
    

    Timo

  • How to customize the pages of Self Service

    Hi all

    How to customize the pages of Self Service. Guide kindly emergency.

    Thank you
    Mr. Bilal

    You can take these steps
    ==============

    -> Profile set Customize option % Self Serv % Def % Yes at the user level (you use to customize the user).
    -> Go to the page you want to customize
    -> Page-click Customize in global top menu of the page.
    -> Click on the button Choose context and select the responsibility for which you want to customize the element (clear, all other fields such as site, organization, location, function, industry)
    -> Button click on apply. You will get the hierarichy page.
    -> Now the identity of the item, you need to customize and click Customize (pencil icon).
    -> True/false property rendered set (if you want to hide the item to false to show true set) and apply.
    Back at the request of->

    You can see more information on these links

    http://apps2fusion.com/at/43-SS/453-OAF-extension-case-study

  • How to customize the Filter Table ADF Faces?

    How to customize the filter ADF Faces Table

    I want to filter column == > add filter select only one option

    http://img192.imageshack.us/img192/994/unledixd.PNG | http://img192.imageshack.us/img192/994/unledixd.PNG


    What about Ninja

    Published by: Ninja on August 29, 2011 12:42 AM

    Published by: Ninja on August 29, 2011 12:47 AM

    Check [url: http://hasamali.blogspot.com/2010/10/custom-adf-table-filter-with-drop-down.html] this blog.

    Jean Lou

  • How to customize the bookmark window? Change "tags" for "keyworkds.

    I usually use the keys ctrl + d for bookmarks, but when I hit him open the popup with 'Name', 'Folder' and 'Tags '. I wan't to know if it is possible to add the "Keywork" here too.

    The simple question is: is possible to customize the bookmark popup box?

    With Add Bookmark Here extension 2, you can choose what shows the Bookmark dialog box. After having added ABH2 and restart Firefox, tools > Modules > Extensions, click ABH2, click Options, click the 'Panel' tab and check the items that you want in the dialog box. The dialog box is also greater than the default, Firefox bookmark dialog box. In my opinion, it's how the Firefox bookmark dialog box should be.

    Add bookmark here 2: https://addons.mozilla.org/en-US/firefox/addon/3880

    Other issues requiring your attention

    The information provided with your question indicates you have outdated plugins with known security and stability issues that need to be updated. To see the plugins submitted with your question, click on "+ system details...". "to the right of your original message of the question. You can also see your plugins in the Firefox menu Tools > Modules > Plugins.

    1. Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/

      • Note: plugin check page lacks information about all versions of the plugin
    2. Update of Adobe Reader (PDF plugin):
      • Within your existing Adobe (If you have already installed) drive:

    • Open the Adobe Reader program in your list of programs
    • Click Help > check for updates
    • Follow the instructions to update
    • If this method works for you, go to the section "download full installer ' below and go to"after the installation"below
  • Download the full installer (If you have NOT installed Adobe Reader):
    • "Use the links below in order to avoid the painful' getplus" Adobe Download Manager and other 'extras' you do not want
    • Use Firefox to download and SAVE the installer to your hard drive for the appropriate link below
    • Click "save to file"; Save to your desktop (so you can find it)
    • Once the download is complete, close Firefox
    • Click on the installation program, you just downloaded and allow installation to continue
      • Note: Vista and Win7 users need to right click on the installer and choose "Run as Administrator"
    • Download link: ftp://ftp.adobe.com/pub/adobe/reader/
      • Choose your operating system
      • Choose the latest version of # .x (example 9.x for version 9)
      • Choose the version the most recent number
        • NOTE: 10.x is the new Adobe Reader X (Windows and Mac only from this announcement)
      • Choose your language
      • Download the file, save it to your hard drive, when finished, close Firefox, click on the installation program you just downloaded and let it install.
      • Windows: click on the .exe file. Mac: click on the .dmg file
  • Using one of the links below will force you to install the "getPlus" Adobe Download Manager. Also don't forget to uncheck the McAfee scanner if you do not want the link force installed on your desktop computer
  • After installation, launch Firefox and recheck your version.
  • Update the plugin
  • Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java platform: download JRE)
  • See also "Manual Update" in this article for update from the Java Control Panel in Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
  • Removal of older versions (if required): http://www.java.com/en/download/faq/remove_olderversions.xml
  • Remove several extensions of Console Java (if required): http://kb.mozillazine.org
  • Java test: http://www.java.com/en/download/help/testvm.xml
  • How to customize the interface app in 2015 DPS?

    Hello DPS community,

    I'm trying to put in place an application with Adobe DPS 2015 so I use the Web app builder for this interface.

    I managed to put in place the items in a collection, but I can't find any options to customize the viewer interface.

    Is it possible to set the color of the status bar? Customize the sidebar on the side menu left which is connected to the icon menu burger?


    Thanks for the clarification or useful links on the customization of DPS 2015.


    Kind regards

    Carsten

    The only way to customze the viewer interface is to use page layouts and cards.

    check the example on http://blogs.adobe.com/digitalpublishing/madewithdps

    and take a look at the tutorials available on

    https://helpx.Adobe.com/digital-publishing-solution/help/cards-layouts.html

    https://helpx.Adobe.com/digital-publishing-solution/how-to/grid-layout-collection.html?set = digital-edition-solution-key-technical

  • How we customize the invitation message

    We need to customize the invitation message to include instructions on how to deploy the required software

    Hi n,

    We wish to inform you that there is no option available now.

    However, as an alternative you can do is, you can export the CSV file and do what is necessary. Click on the link below.

    Using creative cloud | Manage your creative cloud to the membership of the teams

    Thank you

    Atul Saini

  • C. suppliers - how to customize the layout of controls?

    Hello

    I'm unable to responsibility for the accounts payable Manager , and your help is greatly appreciated.

    My company has recently upgraded from Apps10g to R12.

    When my company has made a payment, we create a payment for an invoice,
    and after completing the payment then Oracle prints a bank check on our printer.

    For our old system, there was some report formatted everything nicely.
    and print printed our check perfectly.

    After the upgrade, our sense of control is blurred, because Oracle is trying to make a conversion from PDF.
    I was told to customize some XML to format this extracted printout of accounts payable.
    and that the report of old is gone.

    You have any ideas?

    Thank you

    Hello

    When you make the payment in R12 through payments Manager, check what is the name of 'profile of payment process '. Go to the accounts payable Manager > Setup > payment > payment administrator > profiles of payment process. Search for the profile of payment process and get the name of the Format of payment Instruction. Now, go to the accounts payable Manager > Setup > payment > payment administrator > Formats. Search for the Format of the Instruction of payment and get the name of the model. The search by navigating template up, Manager of accounts payable > Setup > payment > payment administrator > Format XML Publisher templates. Download the RTF file that is attached to the XML model. Make the necessary changes and load the model changed the RTF to the definition of the model. How to change the RTF template, see XML Publisher manuals.

    I hope my description helps!

    Kind regards
    Kiran

  • Maybe you are looking for

    • Qosmio F10: What to do with the update tool CD after the replacement of the motherboard?

      Hi, hoping someone can help. My F10 had three new mother advice, since one broke down. Fortunately, I had paid for the extended warranty. However, when she came back this time they had formatted my drive was hard because they changed the chip set. No

    • How to recover a permanently deleted file [Microsoft Office] in WIN XP

      while trying to install Flash player {plugin missing] in IE8, I accidentally deleted Microsoft Office [in Set Program Access and Defaults].} the subsequent download of a free trial version of MS Office required a key to buy [huh?] I saw there are opp

    • Issue of Windows Media Encoder

      Hello We use Windows Media 9 on Windows XP services to broadcast to our website, so we created the MMS: / / link on our website, the question is: if five people visit this site, there are five broadcast or show? We want to reduce the traffic. Thank y

    • downgrade vista to XP pro

      I tried the cd bootable and also using back (format c:/q). It says file type is NTFS ATTENTION all THE DATA ON NON-REMOVABLKE DRIVE C: will BE LOSTFORMAT YES / No. start formatting (y/n).  When I press yes I get > Quick format 151125 mSystem partitio

    • Windows Vista GeForce 8600 M GS graphic card does not. HOWTO fix?

      I really need help. Just a couple of days my HP Pavilion dv9000 series laptop was working perfectly and now the graphics do not work. Any time I try to watch a video anywhere like on youtube, my screen fills with colorful random horizontal lines. I h