Border around the selected ListField item?

Hello

I wonder if it is possible to customize a ListField, such as when you scroll through the list, the current row will have a border color around it?

If this is not possible, I thought to imitate a ListField behavior using a TableLayout, where each row in the table has a HorizontalFieldManager.  Then, when an individual HorizontalFieldManager is selected, it will draw a border around it...

Also, would it be possible to have a border around the current selected line (whether in a listfield or tablelayout) and then be able to select an object (such as a button) inside the line, without losing the border highlighted?

Thank you!

You might expect to have a special identification for the selected line in a ListField was asked and answered several times on this forum.  From memory, there are two options:

(a) substitute drawfocus

(b) in your drawListRow, check if the line that you draw is the selected line of the ListField.

I suggest that you look in the forum for more information on these options.

A ListField is a unique field, with a line at a time selected.  Without coding you something special it is not possible to have different parts of the line selected in different circumstances.  And although it is possible, don't normally add you a HorizontalFieldManager (or all other fields) to the ListField and which allows to paint content,

What you're suggesting is indeed possible, but it is not for the faint-hearted.  I would recommend that investigate you other ways to achieve the desired effect before you start to look at using other fields to the layout and paint a line in the ListField.

Tags: BlackBerry Developers

Similar Questions

  • Outline around the selected items of OCD

    WebHelp. RH9

    I just installed IE9 and when I run my published WebHelp and select a link in the table of contents, it displays an image dotted around the selected item. This never happened with IE8, so I was wondering if there is anyway to prevent it? Is it possible to add a "outline: no ' somewhere in the RoboHelp output (as you would in styling a CSS link) so that it does not appear?

    Thank you very much

    Jonathan

    Hi Jonathan,.

    Unfortunately, IE was a nut that is more difficult to crack than I imagined. The problem is that IE9 supports the css schema, but the table of contents is running in mode of whims so no goodness IE9 it... There is a solution, it's just not as easy as I thought. See http://www.wvanweelden.eu/robohelp/modifying_webhelp/remove_outline_in_toc for a step by step guide to get rid of the sketch.

    Note: If you let me, I would use your example on my site image. It seems much better than the image for example, I added

    Take a bow

    Willam

  • When turned on my laptop, there is a black border around the screen.

    Original title: screen resolution problem

    Hello

    A few weeks ago, I turned on my laptopn and there was a black border around the screen. I managed to change the screen resolution, but my laptop seems to think that I have a dual monitor? And my resolution is still not like it was before. Obviously this isn't a huge problem, but it's annoying to have to go and change it regularly.

    In addition, given that this has started to happen, I noticed that when I turn on my laptopn, instead of the usual Acer / Windows startup screen, the screen is all black, until the login screen appears. I don't know if this is related or how, once again, this isn't a big deal in the grand scheme of things, but if an update is installed, you do not see the progress it's making!

    I ran a system restore, without success.

    Running Windows 7 on a laptop Acer Aspire. Any suggestions welcome, although I'm not that tech-savvy!

    Thank you

    Hello

    The first thing to check is your theme controls. Go to the control panel and select personalization. When this window opens, go down and select wallpaper. When this window opens go to the lower left corner and make sure that the background that position of the image is set to 'bridge '. Save the changes and return (right click on the name of the theme in the theme dialog box).

    Let me know if this solves the problem for you.

    Kind regards

    BearPup

  • My iPhone 6s has lines of black border around the screen. Is this normal?

    My iPhone 6s has lines of black border around the screen. Is this normal?

    A screenshot would help us see what you see.

  • Border around the text

    Hi I have the piece of code that displays a simple next label field

    final LabelField lf2 = new LabelField("www.arsenal.com", LabelField.FOCUSABLE|LabelField.FIELD_HCENTER)
            {
                public void paint(Graphics graphics)
                {
                    graphics.setColor(Color.BLUE);
                    super.paint(graphics);
                }
                protected void drawFocus(Graphics g, boolean on){
                    XYRect rect = new XYRect();
                    getFocusRect(rect);
                    g.setColor(Color.WHITE);
                    drawHighlightRegion(g, HIGHLIGHT_FOCUS, on, rect.x, rect.y, rect.width, rect.height);
                    super.paint(g);
                }
                public boolean navigationClick (int status , int time){
    
                    int response = Dialog.ask(Dialog.D_YES_NO,"Are you sure you want to access the internet? \nData charges may be applicable if they are not included on your tariff.",Dialog.YES);
                    if(response == Dialog.YES)
                    {
                        BrowserSession bSession = Browser.getDefaultSession();
                        bSession.displayPage("http://www.arsenal.com");
                    }
                    return true;
                }
            };
    

    My question is, I am able to add a border around the label field? How would I go to do this?

    Thank you

    Thanks for the replies. In the end, I found the method simple to solve this problem was to create a simple bitmap image and add to the screen where I want the border.

    Thanks for your help!

  • Table border without a border around the cells of td in the it

    I have a page with a lot of tables on it. For one of the tables I want a border that goes around the entire table, but also creates a border around the cells of td in the table. My current coding includes < table width = "804" border = "1", etc. for the table, and < td width = "350" border-width: 0px; etc. to the cells and the coding does NOT work. I don't think I can create css rules to govern the border for this unique table because I have other tables in the page where I don't want to use this format of table/td cell border. Thanks for any help you can provide!

    I don't think I can create css rules to govern the border for this unique table because I have other tables in the page where I don't want to use this format of table/td cell border.

    Easy to do if you're simply targeting the special table with a class or ID.

    CSS

    {table. Special}

    border: 1px solid black;

    Width: 804px;

    }

    table. Special td {border: none ;}}

    HTML

  • How to print a document with a border around the edge .indd?

    I have an Indesign document I want to print with a slight border around the edge.

    I print it after have exported them in PDF format.  But when I choose the various combinations of the "print the printer marks" in the export settings, none of them doesn't seem to work.

    I want just a line simple thin border around the edge of the document to print.  I don't want the internal body to print (which it does sometimes).

    I know it can be done, because on some of my documents .indd it works... but I can't figure out what I did to get it printed like that.

    Help!

    and thank you...

    Jn

    That's all!  Yes, I see now that I had requested a stroke to the master page in the file with a border.

    I created the first document in years, so I forgot and it's not really appear except when it is printed.

    So now with the new file I just applied a framework and drawn a line by 1 point on the main frame in the document.

    Now, it will be printed as I wanted.

    THANKS FOR ALL YOUR HELP!

  • How to get the border around the text

    Hello

    Attached is a logo that has a border around the text that im trying to duplicate I tried dropshadows and with the help of a stroke, but the two did not work if someone could tell me how this is done I would greatly appreciate it's for a logo design btw im. Just trying to learn new tricks in illustrator.

    Thank youCutepen.png

    Appearance Panel, add a line (at the bottom of the appearance Panel). Move the line under the fill in it entering on the right side of the Panel, drag down filling. Make the race heavy enough to achieve the desired effect.

    Mike

  • Adding border around the text

    Hello

    I click on 't' to type text and color of the text, for example, orange; If I then try to add a black outline in Edit | Stroke, I noticed that "Stroke" is grayed out.

    How can I add this black border around the letter (s), then, please?

    Thank you.

    Steve

    Use the layer styles.  Double click on the layer which will open the dialog to styles of layer, and you will see the path of the race to the bottom of the list.

  • Remove the border around the buttons in a CS Extension

    Hello

    I'm creating a new extension for Creative Suite and all the buttons I have in the extension are using icons, but there's always a border around the button, which I can't delete. I tried to change the borderColor to match the background color of the Extension, but the border is still there.

    I've attached a screenshot of one of the buttons add a button in the extension that you can see what I mean. This button should just show the icon 'more' and has no border around it. How can I remove this border? I am using the CSS to add the icons for the buttons, even using CSS means that I can not remove this border.

    Thank you

    StephenAddIconScreenshot.png

    My answer by email has blurred.

    It should look like this:

    Button.blankButton{
        upSkin: Embed(source='assets/blank_btn_up.png');
        overSkin: Embed(source='assets/blank_btn_over.png');
        downSkin: Embed(source='assets/blank_btn_down.png');
        disabledSkin: Embed(source='assets/blank_btn_disabled.png');
    }
    

    Substances

  • How to get rid of border around the linked image in IE?

    Still developing my page and I wanted to see what it looks like ona a few different computers.  I've linked the images as part of my bar side/nav bar.  In Firefox on my machine

    the images are as I want them to be... sitting in the border sidebar with no individual border around them.  If I watch on another computer with Firefox

    If I look in IE, each image has its own black border around the image (which I assume is because I put them in place in the form of links).  How can I change the

    code for these borders do not appear in Internet Explorer and it works on any version of Firefox can be implemented?

    http://rickcicciarelli.com/AntiqueTargetThrowers.html

    Try to add this code to your CSS stylesheet:

    #sidebar img {}

    border: 0px;

    }

    Also, FYI, you can move your styles of links in the head of your page to your CSS stylesheet.

    Chris

    www.cdeatherage.NET

  • Red border around the base of the audio clip?

    I added a clip audio .aif for mounting PR (starting a DVD tutorial). When I click on the clip, a thin red border appears around the bottom and sides, left and right of the clip:

    Red border.jpg

    There was a few clicks in the audio. If I made it as a .wav file, but have no effect on the sound or the border.

    What is the border?

    Kathleen

    kllanini wrote:

    What is the border?

    That the audio clip is selected.

    Peter Garaway

    Adobe

    Premiere Pro

  • When using the 'typewriter', then put it a 'text area' at the border around the words, the word 'fade' o

    When using the "typewriter", then put a border of the "text area" around the words, the word "melted" and only can be seen.  How to fix?  Thank you

    I'm afraid, there is no option to this toolbar in Acrobat X quick tools. It of a dynamic toolbar and gets changed based on the selection.

    However, you can do it in Acrobat XI.

  • Can we put a border around using CSS library item?

    I want to change my web pages CSS and delete all tables that I have now. What I can and how to make a border around a library item? Look like this when complete:

    http://www.kitchyglass.com/forsale/everything/everything.html

    Thank you.

    You can't style a library item.  It's just an exclusive piece of the DW code.  But you can style of the container in which lies the library item.

    CSS:

    {#divName}

    border: 1px solid #000;

    }

    HTML:

    your content or library item goes here...

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

    http://Twitter.com/ALTWEB

    http://ALT-Web.blogspot.com/

  • Can't get rid of the border around the images?

    whenever I drag and drop an image in my background in dreamweaver, it creates two white lines around the edge of the image to let me know to place images, how to clear these white lines?

    The image and the background are both black and white lines away from the simplicity of used items...

    Picture 2.jpg

    The border is your image.

    Here's a crop of the bridge with your image in the viewer and th on black background...

    Martin

Maybe you are looking for